Browse Source

Small parser bugfix (#1805)

Deathbat2190 4 years ago
parent
commit
2efb5a36ca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      parser/raylib_parser.c

+ 1 - 1
parser/raylib_parser.c

@@ -173,7 +173,7 @@ int main()
                     validStruct = true;
                     break;
                 }
-                else if (buffer[i + j] == ';') 
+                else if (buffer[i + c] == ';')
                 {
                     // Not valid struct: 
                     // i.e typedef struct rAudioBuffer rAudioBuffer; -> Typedef and forward declaration