aboutsummaryrefslogtreecommitdiff
path: root/c/main.c
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-03-31 00:02:34 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-03-31 00:02:34 +0200
commitf7e97646dd9a20f0e4db266c94c79529d8edf169 (patch)
tree4d3f5e32b7479afc5bd28ae1ccbfde6c8c3be42f /c/main.c
parentc9b8d278883a90f534f30f0830bb003460310823 (diff)
downloadEpisodeBrowser-f7e97646dd9a20f0e4db266c94c79529d8edf169.tar.gz
Rename rgArgs to argv.
More informative, really.
Diffstat (limited to 'c/main.c')
-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;