diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/FbTk/Menu.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc index 246d65d..7172fe7 100644 --- a/src/FbTk/Menu.cc +++ b/src/FbTk/Menu.cc | |||
@@ -118,7 +118,7 @@ size_t search_string(const std::string& text, const std::string& pattern) { | |||
118 | return t+p; | 118 | return t+p; |
119 | } | 119 | } |
120 | } | 120 | } |
121 | t += skip[text[t+p]]; | 121 | t += skip[std::tolower(text[t+p])]; |
122 | } | 122 | } |
123 | 123 | ||
124 | return std::string::npos; | 124 | return std::string::npos; |