diff options
author | Max Horn | 2006-03-15 17:56:53 +0000 |
---|---|---|
committer | Max Horn | 2006-03-15 17:56:53 +0000 |
commit | 2eaa929af786880ae8de616ca3c4b8b9b38a18c7 (patch) | |
tree | f08f0621f2b8d39c4ed03baa352577563f84fa77 /backends | |
parent | 056fbe48559b4d5050c513ee2e3b09ee0e5a8432 (diff) | |
download | scummvm-rg350-2eaa929af786880ae8de616ca3c4b8b9b38a18c7.tar.gz scummvm-rg350-2eaa929af786880ae8de616ca3c4b8b9b38a18c7.tar.bz2 scummvm-rg350-2eaa929af786880ae8de616ca3c4b8b9b38a18c7.zip |
Fix for bug #1449912 (DC: selector.cpp compilation failed)
svn-id: r21319
Diffstat (limited to 'backends')
-rw-r--r-- | backends/dc/selector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/dc/selector.cpp b/backends/dc/selector.cpp index 6ac974f97c..bd9086431d 100644 --- a/backends/dc/selector.cpp +++ b/backends/dc/selector.cpp @@ -230,12 +230,12 @@ static int findGames(Game *games, int max) 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, |