aboutsummaryrefslogtreecommitdiff
path: root/src/Keys.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Keys.cc')
-rw-r--r--src/Keys.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Keys.cc b/src/Keys.cc
index 0c20f9e..6bb0e42 100644
--- a/src/Keys.cc
+++ b/src/Keys.cc
@@ -518,7 +518,7 @@ bool Keys::addBinding(const string &linebuffer) {
518 const char *str = FbTk::StringUtil::strcasestr(linebuffer.c_str(), 518 const char *str = FbTk::StringUtil::strcasestr(linebuffer.c_str(),
519 val[argc].c_str()); 519 val[argc].c_str());
520 if (str) // +1 to skip ':' 520 if (str) // +1 to skip ':'
521 current_key->m_command = FbTk::CommandParser<void>::instance().parse(str + 1); 521 current_key->m_command.reset(FbTk::CommandParser<void>::instance().parse(str + 1));
522 522
523 if (!str || current_key->m_command == 0 || mod) { 523 if (!str || current_key->m_command == 0 || mod) {
524 delete first_new_key; 524 delete first_new_key;