[Scummvm-cvs-logs] CVS: scummvm/common gameDetector.cpp,1.115,1.116 gameDetector.h,1.46,1.47
Max Horn
fingolfin at users.sourceforge.net
Thu Jul 3 15:07:06 CEST 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm debugger.cpp,1.63,1.64
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sky control.cpp,1.13,1.14 control.h,1.8,1.9 skydefs.h,1.21,1.22 sound.cpp,1.17,1.18
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1:/tmp/cvs-serv9512
Modified Files:
gameDetector.cpp gameDetector.h
Log Message:
const correctness
Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/gameDetector.cpp,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -d -r1.115 -r1.116
--- gameDetector.cpp 22 Jun 2003 14:18:33 -0000 1.115
+++ gameDetector.cpp 3 Jul 2003 22:06:13 -0000 1.116
@@ -642,7 +642,7 @@
if (!_gameDataPath) {
warning("No path was provided. Assuming the data files are in the current directory");
- _gameDataPath = "";
+ _gameDataPath = strdup("");
#ifndef __PALM_OS__ // add last slash also in File::fopenNoCase, so this is not needed
} else if (_gameDataPath[strlen(_gameDataPath)-1] != '/'
#ifdef __MORPHOS__
Index: gameDetector.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/gameDetector.h,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- gameDetector.h 22 Jun 2003 11:55:39 -0000 1.46
+++ gameDetector.h 3 Jul 2003 22:06:13 -0000 1.47
@@ -70,7 +70,7 @@
ADLIB_NEVER = 3
} adlib;
uint32 features;
- char *detectname;
+ const char *detectname;
};
struct MusicDriver {
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm debugger.cpp,1.63,1.64
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sky control.cpp,1.13,1.14 control.h,1.8,1.9 skydefs.h,1.21,1.22 sound.cpp,1.17,1.18
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list