diff options
-rw-r--r-- | src/FbTk/MenuSearch.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/MenuSearch.cc b/src/FbTk/MenuSearch.cc index d87bfaf..7efd232 100644 --- a/src/FbTk/MenuSearch.cc +++ b/src/FbTk/MenuSearch.cc | |||
@@ -75,7 +75,7 @@ size_t search_str_bmh(const std::string& text, const std::string& pattern) { | |||
75 | return t+p; | 75 | return t+p; |
76 | } | 76 | } |
77 | } | 77 | } |
78 | t += skip[std::tolower(text[t+p])]; | 78 | t += skip[std::tolower(text[t+plast])]; |
79 | } | 79 | } |
80 | 80 | ||
81 | return std::string::npos; | 81 | return std::string::npos; |