screen_signal should be reset to -1

This commit is contained in:
Chris Young 2014-02-10 20:31:06 +00:00
parent c384c5dd3e
commit 55a96a7eee
1 changed files with 1 additions and 1 deletions

View File

@ -2765,7 +2765,7 @@ void ami_gui_close_screen(struct Screen *scrn, BOOL locked_screen, BOOL donotwai
if(CloseScreen(scrn) == TRUE) {
if(locked_screen == FALSE) {
FreeSignal(screen_signal);
screen_signal = NULL;
screen_signal = -1;
scrn = NULL;
}
return;