aboutsummaryrefslogtreecommitdiff
path: root/src/Keys.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-08-22 14:14:56 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-08-22 14:14:56 (GMT)
commit9170de1831bd1be633a77f871a7581e238958925 (patch)
tree0b4aa334dd6722aeb01c7747ffc1738a208aad0e /src/Keys.cc
parent72a9dc9c3068f161bde059e8f14e8f3ed30c8def (diff)
downloadfluxbox-9170de1831bd1be633a77f871a7581e238958925.zip
fluxbox-9170de1831bd1be633a77f871a7581e238958925.tar.bz2
another parsing fix
Diffstat (limited to 'src/Keys.cc')
-rw-r--r--src/Keys.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Keys.cc b/src/Keys.cc
index 637ccbb..b917989 100644
--- a/src/Keys.cc
+++ b/src/Keys.cc
@@ -450,9 +450,9 @@ bool Keys::addBinding(const string &linebuffer) {
450 return false; 450 return false;
451 451
452 const char *str = FbTk::StringUtil::strcasestr(linebuffer.c_str(), 452 const char *str = FbTk::StringUtil::strcasestr(linebuffer.c_str(),
453 val[argc].c_str() + 1); // +1 to skip ':' 453 val[argc].c_str());
454 if (str) 454 if (str) // +1 to skip ':'
455 current_key->m_command = FbTk::CommandParser<void>::instance().parse(str); 455 current_key->m_command = FbTk::CommandParser<void>::instance().parse(str + 1);
456 456
457 if (!str || *current_key->m_command == 0 || mod) { 457 if (!str || *current_key->m_command == 0 || mod) {
458 delete first_new_key; 458 delete first_new_key;