diff options
author | John Ankarström <john@ankarstrom.se> | 2022-03-31 00:02:34 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-03-31 00:02:34 +0200 |
commit | f7e97646dd9a20f0e4db266c94c79529d8edf169 (patch) | |
tree | 4d3f5e32b7479afc5bd28ae1ccbfde6c8c3be42f | |
parent | c9b8d278883a90f534f30f0830bb003460310823 (diff) | |
download | EpisodeBrowser-f7e97646dd9a20f0e4db266c94c79529d8edf169.tar.gz |
Rename rgArgs to argv.
More informative, really.
-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; |