mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 01:54:24 +03:00
(edit_show_search_error): use message().
(edit_query_dialog): isn't used anymore. Remove. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
37a0540423
commit
7b2b78722d
@ -74,7 +74,6 @@
|
||||
#define get_sys_error(s) (s)
|
||||
|
||||
#define edit_error_dialog(h,s) query_dialog (h, s, D_ERROR, 1, _("&Dismiss"))
|
||||
#define edit_query_dialog(h,s) query_dialog (h, s, D_NORMAL, 1, _("&Dismiss"))
|
||||
#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)
|
||||
|
||||
|
@ -551,9 +551,9 @@ static void
|
||||
edit_show_search_error (const WEdit *edit, const char *title)
|
||||
{
|
||||
if (edit->search->error == MC_SEARCH_E_NOTFOUND)
|
||||
edit_query_dialog (title, _(STR_E_NOTFOUND));
|
||||
message (D_NORMAL, title, "%s", _(STR_E_NOTFOUND));
|
||||
else if (edit->search->error_str != NULL)
|
||||
edit_query_dialog (title, edit->search->error_str);
|
||||
message (D_NORMAL, title, "%s", edit->search->error_str);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
Loading…
Reference in New Issue
Block a user