Hi,

The attached patch will fix this bug.

I have tried to run `$ iconv -t UTF-8 search.yml' but received an error
so I have decided to remove those troublemaking chars in search.yml.

Can someone please verify and merge it in the repo.

Thanks,
Partha
>From 531aca81338933911e23f58bc1bc6099526f0439 Mon Sep 17 00:00:00 2001
From: Partha Pratim Mukherjee <ppm.fl...@gmail.com>
Date: Sun, 2 Nov 2014 19:26:39 +0530
Subject: [PATCH] Fix for bug#767041

---
 lib/Kephra/Config/Interface.pm      | 2 +-
 share/config/global/data/search.yml | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/Kephra/Config/Interface.pm b/lib/Kephra/Config/Interface.pm
index 9ef50e1..4a3039b 100644
--- a/lib/Kephra/Config/Interface.pm
+++ b/lib/Kephra/Config/Interface.pm
@@ -16,7 +16,7 @@ sub load {
 	my $use_cache = _config()->{cache}{use}; # config allow to use the cache
 	my $load_cache = 0;                      # cache is successful loaded
 	my (%file,%old_index,%new_index);
-	if ($use_cache and 0) { # supend using cache
+	if ($use_cache) { # supend using cache
 		my $read = \&Kephra::Config::File::load;
 		my $path = \&Kephra::Config::filepath;
 		my $get_age = \&Kephra::File::IO::get_age;
diff --git a/share/config/global/data/search.yml b/share/config/global/data/search.yml
index 4a7cadd..43dc8fb 100644
--- a/share/config/global/data/search.yml
+++ b/share/config/global/data/search.yml
@@ -9,8 +9,8 @@ find:
     - static
     - Panel
     - 'man '
-    - Verständnis
-    - gespräch
+    - Verstndnis
+    - gesprch
     - auch
     - welche
     - nur
-- 
2.1.1

Reply via email to