* edit.h: Use D_ERROR for edit_error_dialog, D_NORMAL for query

dialogs.  Remove unused edit_query_dialog4.
This commit is contained in:
Pavel Roskin 2005-05-03 23:26:51 +00:00
parent a6dd81352b
commit d78556d3c5
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2005-05-03 Pavel Roskin <proski@gnu.org>
* edit.h: Use D_ERROR for edit_error_dialog, D_NORMAL for query
dialogs. Remove unused edit_query_dialog4.
2005-04-27 Leonard den Ottolander <leonard * den ottolander nl>
* editdraw.c (status_string): Added casts on 2 parameters to

View File

@ -225,12 +225,11 @@ void edit_execute_cmd (WEdit *edit, int command, int char_for_insertion);
#define get_sys_error(s) (s)
#define edit_error_dialog(h,s) query_dialog (h, s, 0, 1, _("&Dismiss"))
#define edit_error_dialog(h,s) query_dialog (h, s, D_ERROR, 1, _("&Dismiss"))
#define edit_message_dialog(h,s) query_dialog (h, s, 0, 1, _("&OK"))
#define edit_query_dialog2(h,t,a,b) query_dialog(h,t,0,2,a,b)
#define edit_query_dialog3(h,t,a,b,c) query_dialog(h,t,0,3,a,b,c)
#define edit_query_dialog4(h,t,a,b,c,d) query_dialog(h,t,0,4,a,b,c,d)
#define edit_message_dialog(h,s) query_dialog (h, s, D_NORMAL, 1, _("&OK"))
#define edit_query_dialog2(h,t,a,b) query_dialog (h, t, D_NORMAL, 2, a, b)
#define edit_query_dialog3(h,t,a,b,c) query_dialog (h, t, D_NORMAL, 3, a, b, c)
#define color_palette(x) win->color[x].pixel