1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed some stray zeros that were still being passed as null pointers

This commit is contained in:
jules 2018-10-05 11:47:54 +01:00
parent 1eb3de3312
commit 6fda0bffca
54 changed files with 237 additions and 221 deletions

View file

@ -101,7 +101,7 @@ struct CppTokeniserFunctions
break;
}
for (int i = 0; k[i] != 0; ++i)
for (int i = 0; k[i] != nullptr; ++i)
if (token.compare (CharPointer_ASCII (k[i])) == 0)
return true;

View file

@ -68,7 +68,7 @@ struct LuaTokeniserFunctions
break;
}
for (int i = 0; k[i] != 0; ++i)
for (int i = 0; k[i] != nullptr; ++i)
if (token.compare (CharPointer_ASCII (k[i])) == 0)
return true;