mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 12:36:51 +03:00
Don't double-convert string
This commit is contained in:
parent
2b2bbbe765
commit
83b0dd2409
@ -4550,9 +4550,7 @@ static void ami_gui_close_tabs(struct gui_window_2 *gwin, bool other_tabs)
|
|||||||
struct gui_window *gw;
|
struct gui_window *gw;
|
||||||
|
|
||||||
if((gwin->tabs > 1) && (nsoption_bool(tab_close_warn) == true)) {
|
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(messages_get("MultiTabClose"), "Yes", "No", gwin->win);
|
||||||
int32 res = amiga_warn_user_multi(req_body, "Yes", "No", gwin->win);
|
|
||||||
free(req_body);
|
|
||||||
|
|
||||||
if(res == 0) return;
|
if(res == 0) return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user