Fixed missing include and const in brush factory.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1235 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
		
							parent
							
								
									45524de886
								
							
						
					
					
						commit
						9507cf8df2
					
				@ -41,6 +41,7 @@
 | 
			
		||||
 | 
			
		||||
#include <lua5.1/lua.h>
 | 
			
		||||
#include <lua5.1/lauxlib.h>
 | 
			
		||||
#include <lua5.1/lualib.h>
 | 
			
		||||
 | 
			
		||||
// 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);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user