[Scummvm-cvs-logs] SF.net SVN: scummvm: [21541] scummvm/trunk/base/engine.cpp
kirben at users.sourceforge.net
kirben at users.sourceforge.net
Sat Apr 1 15:32:07 CEST 2006
Revision: 21541
Author: kirben
Date: 2006-04-01 15:31:51 -0800 (Sat, 01 Apr 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=21541&view=rev
Log Message:
-----------
Update gameDataPath() calls in engine, to fix compile
Modified Paths:
--------------
scummvm/trunk/base/engine.cpp
Modified: scummvm/trunk/base/engine.cpp
===================================================================
--- scummvm/trunk/base/engine.cpp 2006-04-01 22:31:57 UTC (rev 21540)
+++ scummvm/trunk/base/engine.cpp 2006-04-01 23:31:51 UTC (rev 21541)
@@ -111,12 +111,12 @@
char buffer[MAXPATHLEN];
int i;
- if (strlen(getGameDataPath()) == 0) {
+ if (strlen(_gameDataPath.c_str()) == 0) {
// That's it! I give up!
if (getcwd(buffer, MAXPATHLEN) == NULL)
return;
} else
- strncpy(buffer, getGameDataPath(), MAXPATHLEN);
+ strncpy(buffer, _gameDataPath.c_str(), MAXPATHLEN);
for (i = 0; i < MAXPATHLEN - 1; i++) {
if (buffer[i] == '\\')
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