mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-18 15:48:48 +00:00
Nintedo DS specific code: Remove function call (strlen) from loop condition.
(Spotted by Fingolfin - Thanks) svn-id: r35163
This commit is contained in:
parent
a1a9702f24
commit
766a685125
@ -263,7 +263,7 @@ void drawAutoComplete() {
|
||||
int y = 12 + (r % 6) * 2;
|
||||
int x = 0 + ((r / 6) * 16);
|
||||
|
||||
for (int p = 0; p < (int)strlen(autoCompleteWord[r]); p++) {
|
||||
for (int p = 0; autoCompleteWord[r][p] != 0; p++) {
|
||||
char c = autoCompleteWord[r][p];
|
||||
|
||||
int tile = c - 33 + (KEYBOARD_DATA_SIZE / 32);
|
||||
|
Loading…
Reference in New Issue
Block a user