Convert some occurences of StringList to StringArray;
try to fix compile error in GP2x code svn-id: r48286
This commit is contained in:
parent
75de0ebccb
commit
81a698d0a0
17 changed files with 29 additions and 28 deletions
|
@ -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') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue