Fix critical bug: Grafx2 failing to load when no old config file is present (because of attempt to flash red screen, now has interactive mouse feedback, doesn't work before grafx2 is started). Fixed make install/make uninstall, tested on MSYS's shell for the moment
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1767 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -619,7 +619,8 @@ void Load_image(T_IO_Context *context)
|
||||
if (File_error>0)
|
||||
{
|
||||
fprintf(stderr,"Unable to load file %s!\n",context->File_name);
|
||||
Error(0);
|
||||
if (context->Type!=CONTEXT_SURFACE)
|
||||
Error(0);
|
||||
}
|
||||
|
||||
// Post-load
|
||||
|
||||
Reference in New Issue
Block a user