Convert some occurences of StringList to StringArray;

try to fix compile error in GP2x code

svn-id: r48286
This commit is contained in:
Max Horn 2010-03-18 15:44:59 +00:00
parent 75de0ebccb
commit 81a698d0a0
17 changed files with 29 additions and 28 deletions

View file

@ -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') {