From 9aabf358579495f01df700739e96c4a56cd9a719 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Mon, 1 Apr 2013 00:28:40 -0700 Subject: [PATCH] Buildfix - copy/paste error. Fixes #1148. --- UI/NativeApp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/NativeApp.cpp b/UI/NativeApp.cpp index b8ffdba18..f87de53db 100644 --- a/UI/NativeApp.cpp +++ b/UI/NativeApp.cpp @@ -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 {