Browse Source

Update raylib_parser.c

pull/3392/head 4.6-dev
Ray 1 year ago
committed by GitHub
parent
commit
1327b570e3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      parser/raylib_parser.c

+ 2
- 2
parser/raylib_parser.c View File

@ -534,8 +534,8 @@ int main(int argc, char* argv[])
{ {
// Found a valid number -> update largestType // Found a valid number -> update largestType
int numberType; 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 = p">(valuePtr[c - 1] == 'f' class="p">)? FLOAT_MATH : DOUBLE_MATH;
else numberType = p">(valuePtr[c - 1] == 'L' class="p">)? LONG_MATH : INT_MATH;
if (numberType > largestType) largestType = numberType; if (numberType > largestType) largestType = numberType;
} }

Loading…
Cancel
Save