Warning fix: format not a string literal and no format arguments

view.c:3196:
        format not a string literal and no format arguments

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
This commit is contained in:
Mikhail S. Pobolovets 2009-05-08 23:54:04 +03:00 committed by Slava Zanko
parent 171d6cae22
commit 5f448874e2

View File

@ -3173,7 +3173,7 @@ do_search (WView *view)
view->search_end = view->search_start;
break;
case -2:
message (D_NORMAL, _("Search"), view->search->error_str);
message (D_NORMAL, _("Search"), "%s", view->search->error_str);
view->search_end = view->search_start;
break;
}