-
Samuel Pitoiset authored
"If there were no digits at all, strtol() stores the original value of nptr in *endptr (and returns 0)." If the parsing helper functions are used inside a loop like the "fb tex 2d x" command, the parsed value is overwritten with zero and this ends up by reporting "No texture bound at 0". Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
b741bc77