From 94bb61742bd497e4a00884972ee6390021c8a3b6 Mon Sep 17 00:00:00 2001 From: Slava Zanko Date: Sat, 25 Apr 2009 16:53:05 +0300 Subject: [PATCH] Search engine: move string constants from code of normal search to common code area (lib.c) --- src/search/lib.c | 3 +++ src/search/normal.c | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/search/lib.c b/src/search/lib.c index 3f9d3078a..8b3db618d 100644 --- a/src/search/lib.c +++ b/src/search/lib.c @@ -36,6 +36,9 @@ /*** global variables ****************************************************************************/ +char STR_E_NOTFOUND[] = N_(" Search string not found "); +char STR_E_UNKNOWN_TYPE[] = N_(" Unknown search type "); + /*** file scope macro definitions ****************************************************************/ /*** file scope type declarations ****************************************************************/ diff --git a/src/search/normal.c b/src/search/normal.c index bf6cff36a..6525a4179 100644 --- a/src/search/normal.c +++ b/src/search/normal.c @@ -36,9 +36,6 @@ /*** global variables ****************************************************************************/ -char STR_E_NOTFOUND[] = N_(" Search string not found "); -char STR_E_UNKNOWN_TYPE[] = N_(" Unknown search type "); - /*** file scope macro definitions ****************************************************************/ /*** file scope type declarations ****************************************************************/