aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommands.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbCommands.cc')
-rw-r--r--src/FbCommands.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbCommands.cc b/src/FbCommands.cc
index 5ddfa3a..4e9d214 100644
--- a/src/FbCommands.cc
+++ b/src/FbCommands.cc
@@ -460,7 +460,7 @@ BindKeyCmd::BindKeyCmd(const string &keybind):m_keybind(keybind) { }
460void BindKeyCmd::execute() { 460void BindKeyCmd::execute() {
461 if (Fluxbox::instance()->keys() != 0) { 461 if (Fluxbox::instance()->keys() != 0) {
462 if (Fluxbox::instance()->keys()->addBinding(m_keybind)) { 462 if (Fluxbox::instance()->keys()->addBinding(m_keybind)) {
463 ofstream ofile(Fluxbox::instance()->keys()->filename().c_str(), ios::app); 463 ofstream ofile(Fluxbox::instance()->getKeysResource()->c_str(), ios::app);
464 if (!ofile) 464 if (!ofile)
465 return; 465 return;
466 ofile<<m_keybind<<endl; 466 ofile<<m_keybind<<endl;