From 7c8b222760d223b68f448d862f720040a5c340b4 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Fri, 24 Jun 2016 18:55:41 +0200 Subject: [PATCH] Correctec condition --- raygui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raygui.h b/raygui.h index 7d9041f..793c926 100644 --- a/raygui.h +++ b/raygui.h @@ -286,7 +286,7 @@ RAYGUIDEF int GetStyleProperty(int guiProperty); // Get // NOTE: Those functions are only used in SaveGuiStyle() and LoadGuiStyle() // Check if custom malloc/free functions defined, if not, using standard ones -#if !defined(RAYGUI_MALLOC) || !defined(RAYGUI_NO_STYLE_SAVE_LOAD) +#if !defined(RAYGUI_MALLOC) && !defined(RAYGUI_NO_STYLE_SAVE_LOAD) #include // Required for: malloc(), free() [Used only on LoadGuiStyle()] #define RAYGUI_MALLOC(size) malloc(size)