diff options
Diffstat (limited to 'c/main.c')
-rw-r--r-- | c/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -20,7 +20,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, INT nCmdShow) { - char *rgArgs[2]; + char *argv[2]; HWND hWnd; LPTSTR tszErr; MSG msg; @@ -29,10 +29,10 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, /* Initialize Prolog. */ - rgArgs[0] = "EpisodeBrowser"; - rgArgs[1] = NULL; + argv[0] = "EpisodeBrowser"; + argv[1] = NULL; tszErr = TEXT("Could not initialize Prolog."); - if (!PL_initialise(1, rgArgs)) goto f; + if (!PL_initialise(1, argv)) goto f; tszErr = TEXT("Could not attach databases."); if (!Attach()) goto f; |