[Scummvm-cvs-logs] SF.net SVN: scummvm: [21319] scummvm/trunk/backends/dc/selector.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Wed Mar 15 09:58:02 CET 2006
Revision: 21319
Author: fingolfin
Date: 2006-03-15 09:56:53 -0800 (Wed, 15 Mar 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=21319&view=rev
Log Message:
-----------
Fix for bug #1449912 (DC: selector.cpp compilation failed)
Modified Paths:
--------------
scummvm/trunk/backends/dc/selector.cpp
Modified: scummvm/trunk/backends/dc/selector.cpp
===================================================================
--- scummvm/trunk/backends/dc/selector.cpp 2006-03-15 16:04:20 UTC (rev 21318)
+++ scummvm/trunk/backends/dc/selector.cpp 2006-03-15 17:56:53 UTC (rev 21319)
@@ -230,12 +230,12 @@
for(DetectedGameList::const_iterator ge = candidates.begin();
ge != candidates.end(); ++ge)
if(curr_game < max) {
- strcpy(games[curr_game].filename_base, ge->gameid);
+ strcpy(games[curr_game].filename_base, ge->gameid.c_str());
strcpy(games[curr_game].dir, dirs[curr_dir-1].name);
if(uniqueGame(games[curr_game].filename_base,
games[curr_game].dir, games, curr_game)) {
- strcpy(games[curr_game].text, ge->description);
+ strcpy(games[curr_game].text, ge->description.c_str());
#if 0
printf("Registered game <%s> in <%s> <%s> because of <%s> <*>\n",
games[curr_game].text, games[curr_game].dir,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list