mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Follow-up to bug 784739 - Compare a char against a numeric value, not nullptr
Landed on a CLOSED TREE
This commit is contained in:
parent
61ecbdc263
commit
547914cd05
@ -349,7 +349,7 @@ static int do_main(int argc, char* argv[], nsIFile *xreDirectory)
|
||||
|
||||
char* ptr = buffer;
|
||||
newArgv[0] = ptr;
|
||||
while (*ptr != nullptr &&
|
||||
while (*ptr != 0 &&
|
||||
(ptr - buffer) < sizeof(buffer) &&
|
||||
newArgc < ARRAYSIZE(newArgv)) {
|
||||
if (isspace(*ptr)) {
|
||||
|
Loading…
Reference in New Issue
Block a user