From 56ec98725870be32e5e953f3b86aeddabca11096 Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 10 Sep 2024 13:01:29 +0200 Subject: [PATCH] REVIEWED: Possibly obfuscated variable in loop! --- src/raygui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raygui.h b/src/raygui.h index 4ad20ab..1a80b29 100644 --- a/src/raygui.h +++ b/src/raygui.h @@ -4485,7 +4485,7 @@ static void GuiLoadStyleFromMemory(const unsigned char *fileData, int dataSize) // NOTE: All DEFAULT properties should be defined first in the file GuiSetStyle(0, (int)propertyId, propertyValue); - if (propertyId < RAYGUI_MAX_PROPS_BASE) for (int i = 1; i < RAYGUI_MAX_CONTROLS; i++) GuiSetStyle(i, (int)propertyId, propertyValue); + if (propertyId < RAYGUI_MAX_PROPS_BASE) for (int j = 1; j < RAYGUI_MAX_CONTROLS; j++) GuiSetStyle(j, (int)propertyId, propertyValue); } else GuiSetStyle((int)controlId, (int)propertyId, propertyValue); }