mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 13:37:02 +03:00
Only bother with the delayed requester on OS4
This commit is contained in:
parent
5ee1f09dd2
commit
6b7e678476
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user