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 c74cce6..4db6af7 100644
--- a/src/FbCommands.cc
+++ b/src/FbCommands.cc
@@ -448,7 +448,7 @@ BindKeyCmd::BindKeyCmd(const string &keybind):m_keybind(keybind) { }
448void BindKeyCmd::execute() { 448void BindKeyCmd::execute() {
449 if (Fluxbox::instance()->keys() != 0) { 449 if (Fluxbox::instance()->keys() != 0) {
450 if (Fluxbox::instance()->keys()->addBinding(m_keybind)) { 450 if (Fluxbox::instance()->keys()->addBinding(m_keybind)) {
451 ofstream ofile(Fluxbox::instance()->keys()->filename().c_str(), ios::app); 451 ofstream ofile(Fluxbox::instance()->getKeysResource()->c_str(), ios::app);
452 if (!ofile) 452 if (!ofile)
453 return; 453 return;
454 ofile<<m_keybind<<endl; 454 ofile<<m_keybind<<endl;