Buildfix - copy/paste error. Fixes #1148.

This commit is contained in:
Unknown W. Brackets 2013-04-01 00:28:40 -07:00
parent 417ce893dc
commit 9aabf35857

View File

@ -231,8 +231,8 @@ void NativeInit(int argc, const char *argv[], const char *savegame_directory, co
case '-':
if (!strncmp(argv[i], "--log=", strlen("--log=")) && strlen(argv[i]) > strlen("--log="))
fileToLog = argv[i] + strlen("--log=");
if (!strncmp(__argv[i], "--state=", strlen("--state=")) && strlen(__argv[i]) > strlen("--state="))
stateToLoad = __argv[i] + strlen("--state=");
if (!strncmp(argv[i], "--state=", strlen("--state=")) && strlen(argv[i]) > strlen("--state="))
stateToLoad = argv[i] + strlen("--state=");
break;
}
} else {