From 0d16721b4d27a53d565e8b3c28e9afeb5545e491 Mon Sep 17 00:00:00 2001 From: Ray Date: Thu, 20 Sep 2018 17:55:49 +0200 Subject: [PATCH] Code tweak Solves issue with C++ --- src/raygui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raygui.h b/src/raygui.h index 5396802..0cca6f7 100644 --- a/src/raygui.h +++ b/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)