diff options
author | Paweł Kołodziejski | 2006-02-03 07:30:29 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2006-02-03 07:30:29 +0000 |
commit | 2ebdbbf5e0123302cc16bf4ab45eb65d8f11601f (patch) | |
tree | 9f98ad9bffad38963ce5f2ae1c3da61657180589 /backends | |
parent | 4df095cb36369c72075744dc3521aa9c2f31218c (diff) | |
download | scummvm-rg350-2ebdbbf5e0123302cc16bf4ab45eb65d8f11601f.tar.gz scummvm-rg350-2ebdbbf5e0123302cc16bf4ab45eb65d8f11601f.tar.bz2 scummvm-rg350-2ebdbbf5e0123302cc16bf4ab45eb65d8f11601f.zip |
fixes allow compile with emsvc4 again
svn-id: r20355
Diffstat (limited to 'backends')
-rw-r--r-- | backends/wince/CELauncherDialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/wince/CELauncherDialog.cpp b/backends/wince/CELauncherDialog.cpp index 1d4ddc1923..6d35d42a0e 100644 --- a/backends/wince/CELauncherDialog.cpp +++ b/backends/wince/CELauncherDialog.cpp @@ -98,7 +98,7 @@ void CELauncherDialog::addCandidate(String &path, DetectedGameList &candidates) strcpy(candidateName, &path[i + 1]); candidateName[strlen(candidateName) - 1] = '\0'; for (i=0; i<candidates.size(); i++) { - if (scumm_stricmp(candidateName, candidates[i].name) == 0) { + if (scumm_stricmp(candidateName, candidates[i].description) == 0) { idx = i; break; } @@ -118,7 +118,7 @@ void CELauncherDialog::addCandidate(String &path, DetectedGameList &candidates) // The auto detector or the user made a choice. // Pick a domain name which does not yet exist (after all, we // are *adding* a game to the config, not replacing). - String domain(result.name); + String domain(result.description); if (ConfMan.hasGameDomain(domain)) { char suffix = 'a'; domain += suffix; @@ -128,7 +128,7 @@ void CELauncherDialog::addCandidate(String &path, DetectedGameList &candidates) suffix++; domain += suffix; } - ConfMan.set("gameid", result.name, domain); + ConfMan.set("gameid", result.description, domain); ConfMan.set("description", result.description, domain); } ConfMan.set("path", path, domain); |