From 9507cf8df2040cddf734ba364d044874f383e017 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Wed, 2 Dec 2009 12:58:24 +0000 Subject: [PATCH] Fixed missing include and const in brush factory. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1235 416bcca6-2ee7-4201-b75f-2eb2f807beb1 --- factory.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/factory.c b/factory.c index d2a7d9ed..6a085a30 100644 --- a/factory.c +++ b/factory.c @@ -41,6 +41,7 @@ #include #include +#include // Wrapper functions to call C from Lua @@ -195,7 +196,7 @@ void Button_Brush_Factory(void) if (clicked_button == 2) // Run the script { lua_State* L = lua_open(); - char* message; + const char* message; lua_register(L,"putbrushpixel",L_PutBrushPixel); lua_register(L,"getbrushpixel",L_GetBrushPixel);