Nintedo DS specific code: Remove function call (strlen) from loop condition.

(Spotted by Fingolfin - Thanks)

svn-id: r35163
This commit is contained in:
Robin Watts 2008-11-24 00:36:07 +00:00
parent a1a9702f24
commit 766a685125

View File

@ -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);