From 9902c1b885dba5e6b24de53daa90bc66c41b4a74 Mon Sep 17 00:00:00 2001 From: Roland Illig Date: Sun, 15 Aug 2004 22:55:17 +0000 Subject: [PATCH] Added missing initializers for QuickDialog.i18n. --- edit/editcmd.c | 10 +++++----- edit/editoptions.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/edit/editcmd.c b/edit/editcmd.c index ccb7426d4..5d45dcfc1 100644 --- a/edit/editcmd.c +++ b/edit/editcmd.c @@ -390,7 +390,7 @@ void menu_save_mode_cmd (void) NULL_QuickWidget}; static QuickDialog dialog = {DLG_X, DLG_Y, -1, -1, N_(" Edit Save Mode "), "[Edit Save Mode]", - widgets}; + widgets, 0}; static int i18n_flag = 0; if (!i18n_flag) { @@ -1194,7 +1194,7 @@ edit_replace_prompt (WEdit * edit, char *replace_text, int xpos, int ypos) { QuickDialog Quick_input = {CONFIRM_DLG_WIDTH, CONFIRM_DLG_HEIGTH, 0, 0, N_ (" Confirm replace "), - "[Input Line Keys]", 0 /*quick_widgets */ }; + "[Input Line Keys]", 0 /*quick_widgets */, 0 }; Quick_input.widgets = quick_widgets; @@ -1271,7 +1271,7 @@ edit_replace_dialog (WEdit * edit, char **search_text, char **replace_text, char { QuickDialog Quick_input = {REPLACE_DLG_WIDTH, REPLACE_DLG_HEIGHT, -1, 0, N_(" Replace "), - "[Input Line Keys]", 0 /*quick_widgets */ }; + "[Input Line Keys]", 0 /*quick_widgets */, 0}; Quick_input.widgets = quick_widgets; @@ -1336,7 +1336,7 @@ edit_search_dialog (WEdit * edit, char **search_text) { QuickDialog Quick_input = {SEARCH_DLG_WIDTH, SEARCH_DLG_HEIGHT, -1, 0, N_("Search"), - "[Input Line Keys]", 0 /*quick_widgets */ }; + "[Input Line Keys]", 0 /*quick_widgets */, 0}; Quick_input.widgets = quick_widgets; @@ -2560,7 +2560,7 @@ void edit_mail_dialog (WEdit * edit) QuickDialog Quick_input = {50, MAIL_DLG_HEIGHT, -1, 0, N_(" Mail "), - "[Input Line Keys]", 0}; + "[Input Line Keys]", 0, 0}; QuickWidget quick_widgets[] = { diff --git a/edit/editoptions.c b/edit/editoptions.c index d34ff32fe..35aceb5a2 100644 --- a/edit/editoptions.c +++ b/edit/editoptions.c @@ -121,7 +121,7 @@ edit_options_dialog (void) }; QuickDialog Quick_options = - { OPT_DLG_W, OPT_DLG_H, -1, 0, N_(" Editor options "), "", 0 }; + { OPT_DLG_W, OPT_DLG_H, -1, 0, N_(" Editor options "), "", 0, 0 }; if (!i18n_flag) { i18n_translate_array (key_emu_str);