From b0f3f49b283add5d64cd664d2bbcdf888505d770 Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 28 May 2019 17:02:39 +0200 Subject: [PATCH] Corrected potential issue --- src/raygui.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/raygui.h b/src/raygui.h index 3838bb4..20d4472 100644 --- a/src/raygui.h +++ b/src/raygui.h @@ -4068,7 +4068,8 @@ RAYGUIDEF void GuiLoadStyleProps(const int *props, int count) // Load style palette values from array (complete property sets) for (int i = 0; i < completeSets; i++) { - for (int j = 0; j < (NUM_PROPS_DEFAULT + NUM_PROPS_EXTENDED); i++) GuiSetStyle(i, j, props[i]); + // TODO: This code needs review + for (int j = 0; j < (NUM_PROPS_DEFAULT + NUM_PROPS_EXTENDED); j++) GuiSetStyle(i, j, props[i]); } // Load style palette values from array (uncomplete property set)