Browse Source

Small parser bugfix (#1805)

Deathbat2190 4 năm trước cách đây
mục cha
commit
2efb5a36ca
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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