Parent Directory | Revision Log | Patch
revision 1213 by schoenebeck, Wed May 30 00:14:05 2007 UTC | revision 1224 by persson, Sun Jun 10 09:26:36 2007 UTC | |
---|---|---|
# | Line 27 | Line 27 |
27 | ||
28 | // the app has to work from a DLL as well, so we hard code argv | // the app has to work from a DLL as well, so we hard code argv |
29 | int argc = 1; | int argc = 1; |
30 | char* argv_c[] = { "gigedit" }; | const char* argv_c[] = { "gigedit" }; |
31 | char** argv = argv_c; | char** argv = const_cast<char**>(argv_c); |
32 | ||
33 | static void __init_app() { | static void __init_app() { |
34 | setlocale(LC_ALL, ""); | setlocale(LC_ALL, ""); |
|
ViewVC Help | |
Powered by ViewVC |