diff options
author | yinsimei | 2017-07-11 14:57:31 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-13 18:27:45 +0200 |
commit | 800987ab95c4faa5532d735a85516fd09f5de724 (patch) | |
tree | df71c20322ddfd8b441fa120face21663ea9e164 /engines/sludge/newfatal.cpp | |
parent | 19ff9f419baae348b153c45c2857a7cccb33f725 (diff) | |
download | scummvm-rg350-800987ab95c4faa5532d735a85516fd09f5de724.tar.gz scummvm-rg350-800987ab95c4faa5532d735a85516fd09f5de724.tar.bz2 scummvm-rg350-800987ab95c4faa5532d735a85516fd09f5de724.zip |
SLUDGE: replace char *by Common::String
Diffstat (limited to 'engines/sludge/newfatal.cpp')
-rw-r--r-- | engines/sludge/newfatal.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/sludge/newfatal.cpp b/engines/sludge/newfatal.cpp index 52234002b4..e9cd860d8a 100644 --- a/engines/sludge/newfatal.cpp +++ b/engines/sludge/newfatal.cpp @@ -24,7 +24,6 @@ #include "sludge/allfiles.h" #include "sludge/sound.h" -#include "sludge/stringy.h" #include "sludge/errors.h" #include "sludge/graphics.h" #include "sludge/sludge.h" @@ -38,11 +37,11 @@ static Common::String fatalMessage; static Common::String fatalInfo = "Initialisation error! Something went wrong before we even got started!"; extern int numResourceNames /* = 0*/; -extern char **allResourceNames /*= NULL*/; +extern Common::String *allResourceNames /*= ""*/; int resourceForFatal = -1; -const char *resourceNameFromNum(int i) { +const Common::String &resourceNameFromNum(int i) { if (i == -1) return NULL; if (numResourceNames == 0) |