(svn r2405) Simplify a few '? true : false' and '? false : true', especially the latter is confusing

This commit is contained in:
tron
2005-06-04 07:35:12 +00:00
parent 7f0caaa89a
commit 43f7974f6d
5 changed files with 8 additions and 8 deletions

View File

@@ -473,7 +473,7 @@ bool GetArgumentInteger(uint32 *value, const char *arg)
}
*value = strtoul(arg, &endptr, 0);
return (arg == endptr) ? false : true;
return arg != endptr;
}
// * ************************* * //