Skip to content

Commit

Permalink
Update raylib_parser.c
Browse files Browse the repository at this point in the history
  • Loading branch information
raysan5 authored Oct 8, 2023
1 parent be8eea9 commit 1327b57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parser/raylib_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1327b57

Please sign in to comment.