summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Weidauer <sven@5sw.de>2017-06-28 18:49:07 (GMT)
committer Sven Weidauer <sven@5sw.de>2017-06-28 18:49:07 (GMT)
commit71fa17bae889af29053e43e11e5099743aa829b8 (patch)
tree50b6016b1bd2b089c0e564e214da6edf1dcbb0d1
parent78cbfa34b5f714349ce97a8b0e714f257039836b (diff)
parent83b0dd2409cd69dc02bea193625d438c34ca87ab (diff)
downloadnetsurf-71fa17bae889af29053e43e11e5099743aa829b8.tar.gz
netsurf-71fa17bae889af29053e43e11e5099743aa829b8.tar.bz2
Merge remote-tracking branch 'origin/master' into svenw/cocoa
-rw-r--r--frontends/amiga/gui.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/frontends/amiga/gui.c b/frontends/amiga/gui.c
index 5c6700a..44bba2d 100644
--- a/frontends/amiga/gui.c
+++ b/frontends/amiga/gui.c
@@ -4550,9 +4550,7 @@ static void ami_gui_close_tabs(struct gui_window_2 *gwin, bool other_tabs)
struct gui_window *gw;
if((gwin->tabs > 1) && (nsoption_bool(tab_close_warn) == true)) {
- char *req_body = ami_utf8_easy(messages_get("MultiTabClose"));
- int32 res = amiga_warn_user_multi(req_body, "Yes", "No", gwin->win);
- free(req_body);
+ int32 res = amiga_warn_user_multi(messages_get("MultiTabClose"), "Yes", "No", gwin->win);
if(res == 0) return;
}