diff options
author | Max Horn | 2010-03-18 15:44:59 +0000 |
---|---|---|
committer | Max Horn | 2010-03-18 15:44:59 +0000 |
commit | 81a698d0a0a52115088825523950047d135b0ca0 (patch) | |
tree | 776bf3f65deaf6ece083429dca7ce93f7d7ac9dd /backends/platform/gp2x | |
parent | 75de0ebccbc2680758e1ae83b913eb481f90aeda (diff) | |
download | scummvm-rg350-81a698d0a0a52115088825523950047d135b0ca0.tar.gz scummvm-rg350-81a698d0a0a52115088825523950047d135b0ca0.tar.bz2 scummvm-rg350-81a698d0a0a52115088825523950047d135b0ca0.zip |
Convert some occurences of StringList to StringArray;
try to fix compile error in GP2x code
svn-id: r48286
Diffstat (limited to 'backends/platform/gp2x')
-rw-r--r-- | backends/platform/gp2x/graphics.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/platform/gp2x/graphics.cpp b/backends/platform/gp2x/graphics.cpp index 34108367cf..8f6f67c5d6 100644 --- a/backends/platform/gp2x/graphics.cpp +++ b/backends/platform/gp2x/graphics.cpp @@ -31,6 +31,7 @@ #include "backends/platform/gp2x/gp2x-common.h" #include "common/util.h" #include "common/mutex.h" +#include "common/str-array.h" #include "graphics/font.h" #include "graphics/fontman.h" #include "graphics/scaler.h" @@ -1642,7 +1643,7 @@ void OSystem_GP2X::displayMessageOnOSD(const char *msg) { SDL_FillRect(_osdSurface, 0, kOSDColorKey); // Split the message into separate lines. - Common::StringList lines; + Common::StringArray lines; const char *ptr; for (ptr = msg; *ptr; ++ptr) { if (*ptr == '\n') { |