diff options
author | Max Horn | 2002-10-28 20:35:14 +0000 |
---|---|---|
committer | Max Horn | 2002-10-28 20:35:14 +0000 |
commit | ace6c43b3980417f509e783790c02a7328534d8c (patch) | |
tree | aad9d8bc9ba1450b28aca3283a35fc90aa9086a9 /common | |
parent | 0b6a4e9b70c11d4edc75b84a625a6f8d5b38e032 (diff) | |
download | scummvm-rg350-ace6c43b3980417f509e783790c02a7328534d8c.tar.gz scummvm-rg350-ace6c43b3980417f509e783790c02a7328534d8c.tar.bz2 scummvm-rg350-ace6c43b3980417f509e783790c02a7328534d8c.zip |
fixed shadow warning
svn-id: r5346
Diffstat (limited to 'common')
-rw-r--r-- | common/gameDetector.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/common/gameDetector.cpp b/common/gameDetector.cpp index ed129e4397..29e5244661 100644 --- a/common/gameDetector.cpp +++ b/common/gameDetector.cpp @@ -518,16 +518,16 @@ const VersionSettings version_settings[] = { bool GameDetector::detectGame() { const VersionSettings *gnl = version_settings; - char *detectGame; + char *realGame; _gameId = 0; _gameText.clear(); - if (!(detectGame = (char*)g_config->get("gameid"))) - detectGame = (char*)_gameFileName.c_str(); - printf("Looking for %s\n", detectGame); + if (!(realGame = (char*)g_config->get("gameid"))) + realGame = (char*)_gameFileName.c_str(); + printf("Looking for %s\n", realGame); do { - if (!scumm_stricmp(detectGame, gnl->filename)) { + if (!scumm_stricmp(realGame, gnl->filename)) { _gameId = gnl->id; _gameRealName = gnl->filename; _features = gnl->features; |