From 5f448874e20c63b342ddccfe00281eab75bf3292 Mon Sep 17 00:00:00 2001 From: "Mikhail S. Pobolovets" Date: Fri, 8 May 2009 23:54:04 +0300 Subject: [PATCH] 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 --- src/view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/view.c b/src/view.c index 25c7ff28c..6ed6f9fc0 100644 --- a/src/view.c +++ b/src/view.c @@ -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; }