diff options
author | Mathias Gumz <akira@fluxbox.org> | 2015-05-02 13:45:16 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2015-05-02 13:45:16 (GMT) |
commit | 169d64061083f834878b3a178c6ebfd08c0afcc0 (patch) | |
tree | f2529e650b6ad08e32dd3842134be465a1677d24 /src/FbTk/MenuSearch.hh | |
parent | 533c9a2aa57cf3fd2967b2a72016322902584986 (diff) | |
download | fluxbox-169d64061083f834878b3a178c6ebfd08c0afcc0.zip fluxbox-169d64061083f834878b3a178c6ebfd08c0afcc0.tar.bz2 |
Simplify code
* assume 'pattern' to always be lowercase
* rename some variables
Diffstat (limited to 'src/FbTk/MenuSearch.hh')
-rw-r--r-- | src/FbTk/MenuSearch.hh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/FbTk/MenuSearch.hh b/src/FbTk/MenuSearch.hh index d642929..e06b39b 100644 --- a/src/FbTk/MenuSearch.hh +++ b/src/FbTk/MenuSearch.hh | |||
@@ -13,9 +13,10 @@ class MenuItem; | |||
13 | // a small helper which applies search operations on a list of MenuItems*. | 13 | // a small helper which applies search operations on a list of MenuItems*. |
14 | // the former incarnation of this class was FbTk::TypeAhead in combination with | 14 | // the former incarnation of this class was FbTk::TypeAhead in combination with |
15 | // the now non-existent FbTk::SearchResults, but the complexity of these | 15 | // the now non-existent FbTk::SearchResults, but the complexity of these |
16 | // are not needed for our use case. as a bonus we have less lose parts | 16 | // are not needed for our use case. as a bonus, we have less lose parts |
17 | // flying around. | 17 | // flying around. |
18 | 18 | // | |
19 | // MenuSearch is case insensitive. | ||
19 | class MenuSearch { | 20 | class MenuSearch { |
20 | public: | 21 | public: |
21 | 22 | ||