Hiroyuki Ikezoe
ikezo****@users*****
Tue Dec 5 14:26:34 JST 2006
Index: kazehakase/src/main.c diff -u kazehakase/src/main.c:1.121 kazehakase/src/main.c:1.122 --- kazehakase/src/main.c:1.121 Tue Dec 5 14:16:00 2006 +++ kazehakase/src/main.c Tue Dec 5 14:26:34 2006 @@ -46,9 +46,8 @@ #include "locale.h" #include "utils.h" -#ifdef USE_HYPERESTRAIER -# include "kz-search.h" -#elif USE_RAST +#include "kz-search.h" +#ifdef USE_RAST # include "rast-search.h" #endif @@ -580,15 +579,8 @@ KZ_CONF_GET("History", "store_cache", use_history_search, BOOL); if (use_history_search) { -#ifdef USE_HYPERESTRAIER - KzSearch *search = kz_search_new("hyperestraier"); - if (search) - { - if (!kz_search_exist_index_dir(search)) - kz_search_make_index(search); - g_object_unref(search); - } -#elif USE_RAST + KzSearch *search; +#ifdef USE_RAST gboolean exists_index; gchar *search_command; search_command = g_find_program_in_path("rast"); @@ -601,6 +593,13 @@ g_free(search_command); } #endif + search = kz_search_new("hyperestraier"); + if (search) + { + if (!kz_search_exist_index_dir(search)) + kz_search_make_index(search); + g_object_unref(search); + } } /* load bookmarks */