Undo of test for Lua messages
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1339 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
f64117aeda
commit
683f8c6a18
@ -812,10 +812,7 @@ void Button_Brush_Factory(void)
|
|||||||
int stack_size;
|
int stack_size;
|
||||||
stack_size= lua_gettop(L);
|
stack_size= lua_gettop(L);
|
||||||
if (stack_size>0 && (message = lua_tostring(L, stack_size))!=NULL)
|
if (stack_size>0 && (message = lua_tostring(L, stack_size))!=NULL)
|
||||||
//Verbose_message("Error running script", message);
|
Verbose_message("Error running script", message);
|
||||||
Verbose_message("Error!", "Your WM is forcing GrafX2 to resize to something "
|
|
||||||
"smallerthantheminimalresolution.\n"
|
|
||||||
"GrafX2 switched to a smaller\npixel scaler to avoid problems.");
|
|
||||||
else
|
else
|
||||||
Warning_message("Unknown error running script!");
|
Warning_message("Unknown error running script!");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user