summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2009-02-14 12:29:07 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2009-02-14 12:29:07 +0000
commitf90e43e2b05fef6bca65d086a78cec4cee3c0dec (patch)
treec6ffc0eb0bd73c04baa4062b0b0f1f8982e0aaef /amiga
parent81cd7ce209d0f460e1e78395bbabe921bad1ad67 (diff)
downloadnetsurf-f90e43e2b05fef6bca65d086a78cec4cee3c0dec.tar.gz
netsurf-f90e43e2b05fef6bca65d086a78cec4cee3c0dec.tar.bz2
Fix a bug where public screens would remain open if NetSurf was the last visitor
window to close. svn path=/trunk/netsurf/; revision=6485
Diffstat (limited to 'amiga')
-rwxr-xr-xamiga/gui.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index b8cc69f7a..06bd182e2 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -1399,6 +1399,11 @@ void gui_quit(void)
{
while(!CloseScreen(scrn));
}
+ else
+ {
+ /* have a go at closing the public screen, apparently this is OK to do */
+ CloseScreen(scrn);
+ }
FreeVec(nsscreentitle);