summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();