Don't double-convert string

This commit is contained in:
Chris Young 2017-06-28 18:58:53 +01:00
parent 2b2bbbe765
commit 83b0dd2409

View File

@ -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;
}