aboutsummaryrefslogtreecommitdiff
path: root/common/gameDetector.h
diff options
context:
space:
mode:
authorMax Horn2002-10-23 12:56:30 +0000
committerMax Horn2002-10-23 12:56:30 +0000
commit4625c126c61472508288600da6f75c5873ba37d8 (patch)
tree4f22355a8190d73caea7740befafe66ab8930cd4 /common/gameDetector.h
parent71e6b038837da7776b3a68c920ad9e9077196c17 (diff)
downloadscummvm-rg350-4625c126c61472508288600da6f75c5873ba37d8.tar.gz
scummvm-rg350-4625c126c61472508288600da6f75c5873ba37d8.tar.bz2
scummvm-rg350-4625c126c61472508288600da6f75c5873ba37d8.zip
don't use strdup
svn-id: r5287
Diffstat (limited to 'common/gameDetector.h')
-rw-r--r--common/gameDetector.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/gameDetector.h b/common/gameDetector.h
index f40441ada1..0e10f62484 100644
--- a/common/gameDetector.h
+++ b/common/gameDetector.h
@@ -49,7 +49,7 @@ public:
void parseCommandLine(int argc, char **argv);
int detectMain();
void setGame(const String &name);
- const char *getGameName(void);
+ const String& getGameName(void);
bool _fullScreen;
byte _gameId;
@@ -71,7 +71,7 @@ public:
int _gameTempo;
int _midi_driver;
String _gameFileName;
- const char *_gameText;
+ String _gameText;
uint32 _features;
int _gfx_driver;