aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--c/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/c/main.c b/c/main.c
index 90ae714..1e79634 100644
--- a/c/main.c
+++ b/c/main.c
@@ -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;