Browse Source

Code tweak

Solves issue with C++
Ray 7 years ago
parent
commit
0d16721b4d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/raygui.h

+ 1 - 1
src/raygui.h

@@ -450,7 +450,7 @@ typedef enum GuiControlState {
 //----------------------------------------------------------------------------------
 // Global Variables Definition
 //----------------------------------------------------------------------------------
-static int guiState = NORMAL;
+static GuiControlState guiState = NORMAL;
 static float guiAlpha = 1.0f;
 
 // Current GUI style (light or dark)