Some code reviews

This commit is contained in:
Ray
2018-04-12 20:15:09 +02:00
parent 21adbc3c1d
commit 9c9f4e0413
2 changed files with 8 additions and 13 deletions

View File

@ -2692,10 +2692,9 @@ RAYGUIDEF void GuiLoadStyle(const char *fileName)
{
char signature[5] = "";
short version = 0;
short reserved = 0;
short numProperties = 0;
short changedProperties = 0;
short reserved = 0;
int editionTime = 0;
fread(signature, 1, 4, rgsFile);
fread(&version, 1, sizeof(short), rgsFile);