summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2017-06-28 17:58:53 (GMT)
committer Chris Young <chris@unsatisfactorysoftware.co.uk>2017-06-28 17:58:53 (GMT)
commit83b0dd2409cd69dc02bea193625d438c34ca87ab (patch)
tree512be9620780065bedfc2ba034ab6cb23f042e5d
parent2b2bbbe76502b6cb528752a2dad89d3f1f6c6409 (diff)
downloadnetsurf-83b0dd2409cd69dc02bea193625d438c34ca87ab.tar.gz
netsurf-83b0dd2409cd69dc02bea193625d438c34ca87ab.tar.bz2
Don't double-convert string
-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;
}