diff options
Diffstat (limited to 'engines/sci/gfx/widgets.cpp')
-rw-r--r-- | engines/sci/gfx/widgets.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sci/gfx/widgets.cpp b/engines/sci/gfx/widgets.cpp index 6162ba6530..e3a662ff17 100644 --- a/engines/sci/gfx/widgets.cpp +++ b/engines/sci/gfx/widgets.cpp @@ -211,8 +211,7 @@ static void _gfxw_unallocate_widget(gfx_state_t *state, gfxw_widget_t *widget) { GFXERROR("Error occured while drawing widget!\n"); \ return 1; \ } else if (retval == GFX_FATAL) { \ - GFXERROR("Fatal error occured while drawing widget!\nGraphics state invalid; aborting program..."); \ - exit(1); \ + error("Fatal error occured while drawing widget!\nGraphics state invalid; aborting program..."); \ } \ } |