summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2012-12-09 19:39:48 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2012-12-09 19:39:48 +0000
commit6b7e67847643dc54ade072c83c5669d7093fb1a3 (patch)
treedd4269b6fb86374559b9582f87d24fd968d23067
parent5ee1f09dd2f1535613d1ad88359150f4c6ac53b6 (diff)
downloadnetsurf-6b7e67847643dc54ade072c83c5669d7093fb1a3.tar.gz
netsurf-6b7e67847643dc54ade072c83c5669d7093fb1a3.tar.bz2
Only bother with the delayed requester on OS4
-rwxr-xr-xamiga/gui.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 522f66aee..22a50fa6a 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -2311,6 +2311,8 @@ void ami_quit_netsurf(void)
void ami_quit_netsurf_delayed(void)
{
+ int res = -1;
+#ifdef __amigaos4__
char *utf8text = ami_utf8_easy(messages_get("TCPIPShutdown"));
char *utf8gadgets = ami_utf8_easy(messages_get("AbortShutdown"));
@@ -2326,7 +2328,7 @@ void ami_quit_netsurf_delayed(void)
free(utf8text);
free(utf8gadgets);
-
+#endif
if(res == -1) { /* Requester timed out */
nsoption_set_bool(tab_close_warn, false);
ami_quit_netsurf();