Follow-up to bug 784739 - Compare a char against a numeric value, not nullptr
Landed on a CLOSED TREE
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user