[Scummvm-cvs-logs] CVS: scummvm/backends/wince CELauncherDialog.cpp,1.15,1.16
Pawel Kolodziejski
aquadran at users.sourceforge.net
Thu Feb 2 23:32:09 CET 2006
Update of /cvsroot/scummvm/scummvm/backends/wince
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6269/backends/wince
Modified Files:
CELauncherDialog.cpp
Log Message:
fixes allow compile with emsvc4 again
Index: CELauncherDialog.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/CELauncherDialog.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- CELauncherDialog.cpp 18 Jan 2006 17:39:33 -0000 1.15
+++ CELauncherDialog.cpp 3 Feb 2006 07:30:27 -0000 1.16
@@ -98,7 +98,7 @@
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 @@
// 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 @@
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);
More information about the Scummvm-git-logs
mailing list