summaryrefslogtreecommitdiff
path: root/src/Keys.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Keys.cc')
-rw-r--r--src/Keys.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Keys.cc b/src/Keys.cc
index e102029..0be5384 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 "FbTk/CommandRegistry.hh" 35#include "FbTk/ObjectRegistry.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 = FbTk::CommandRegistry::instance().parseLine(str); 398 current_key->m_command = FbTk::ObjectRegistry<FbTk::Command>::instance().parse(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;