diff options
Diffstat (limited to 'engines/cge2/text.cpp')
-rw-r--r-- | engines/cge2/text.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cge2/text.cpp b/engines/cge2/text.cpp index ecc5521a14..5826f6e5bb 100644 --- a/engines/cge2/text.cpp +++ b/engines/cge2/text.cpp @@ -72,7 +72,7 @@ int16 Text::count() { char *s; assert(line.size() <= 513); Common::strlcpy(tmpStr, line.c_str(), sizeof(tmpStr)); - if ((s = strtok(tmpStr, " =,;/\t\n")) == NULL) + if ((s = strtok(tmpStr, " =,;/\t\n")) == nullptr) continue; if (!Common::isDigit(*s)) continue; @@ -104,7 +104,7 @@ void Text::load() { int n = line.size(); char *s; Common::strlcpy(tmpStr, line.c_str(), sizeof(tmpStr)); - if ((s = strtok(tmpStr, " =,;/\t\n")) == NULL) + if ((s = strtok(tmpStr, " =,;/\t\n")) == nullptr) continue; if (!Common::isDigit(*s)) continue; |