Skip to content
Snippets Groups Projects
Commit 3d9fea57 authored by Logan Aerl Arias's avatar Logan Aerl Arias
Browse files

make M_StringOnlyHasDigits return true if all tests pass

parent c267ee03
No related branches found
No related tags found
No related merge requests found
......@@ -2270,6 +2270,8 @@ boolean M_StringOnlyHasDigits(const char *s)
if (!isdigit(*s++))
return false;
}
return true;
}
// Converts a string containing a whole number into an int. Returns false if the conversion failed.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment