mirror of https://github.com/raysan5/raylib
Update raylib_parser.c
This commit is contained in:
parent
be8eea9eda
commit
1327b570e3
|
@ -534,8 +534,8 @@ int main(int argc, char* argv[])
|
|||
{
|
||||
// Found a valid number -> update largestType
|
||||
int numberType;
|
||||
if (isFloat) numberType = valuePtr[c - 1] == 'f' ? FLOAT_MATH : DOUBLE_MATH;
|
||||
else numberType = valuePtr[c - 1] == 'L' ? LONG_MATH : INT_MATH;
|
||||
if (isFloat) numberType = (valuePtr[c - 1] == 'f')? FLOAT_MATH : DOUBLE_MATH;
|
||||
else numberType = (valuePtr[c - 1] == 'L')? LONG_MATH : INT_MATH;
|
||||
|
||||
if (numberType > largestType) largestType = numberType;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue