diff options
Diffstat (limited to 'src/Keys.cc')
-rw-r--r-- | src/Keys.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Keys.cc b/src/Keys.cc index 06a0d48..e102029 100644 --- a/src/Keys.cc +++ b/src/Keys.cc | |||
@@ -32,7 +32,7 @@ | |||
32 | #include "FbTk/App.hh" | 32 | #include "FbTk/App.hh" |
33 | #include "FbTk/Command.hh" | 33 | #include "FbTk/Command.hh" |
34 | 34 | ||
35 | #include "CommandParser.hh" | 35 | #include "FbTk/CommandRegistry.hh" |
36 | #include "FbTk/I18n.hh" | 36 | #include "FbTk/I18n.hh" |
37 | 37 | ||
38 | #ifdef HAVE_CONFIG_H | 38 | #ifdef HAVE_CONFIG_H |
@@ -395,7 +395,7 @@ bool Keys::addBinding(const string &linebuffer) { | |||
395 | const char *str = FbTk::StringUtil::strcasestr(linebuffer.c_str(), | 395 | const char *str = FbTk::StringUtil::strcasestr(linebuffer.c_str(), |
396 | val[argc].c_str() + 1); // +1 to skip ':' | 396 | val[argc].c_str() + 1); // +1 to skip ':' |
397 | if (str) | 397 | if (str) |
398 | current_key->m_command = CommandParser::instance().parseLine(str); | 398 | current_key->m_command = FbTk::CommandRegistry::instance().parseLine(str); |
399 | 399 | ||
400 | if (!str || *current_key->m_command == 0 || mod) { | 400 | if (!str || *current_key->m_command == 0 || mod) { |
401 | delete first_new_key; | 401 | delete first_new_key; |