all repos — fluxbox @ 876500a25936738f45794a6fa94795e60c170a38

custom fork of the fluxbox windowmanager

Fix correctness of string search

The lookup for the skip value needs to be based upon the lowercase version of
the current byte.
Mathias Gumz akira@fluxbox.org
commit

876500a25936738f45794a6fa94795e60c170a38

parent

77f0963d00ecbd19e6d254b2d6a3fc5a2ebb1c29

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/FbTk/Menu.ccsrc/FbTk/Menu.cc

@@ -118,7 +118,7 @@ if (p == 0) {

return t+p; } } - t += skip[text[t+p]]; + t += skip[std::tolower(text[t+p])]; } return std::string::npos;