summaryrefslogtreecommitdiff
path: root/src/keycode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/keycode.cpp')
-rw-r--r--src/keycode.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/keycode.cpp b/src/keycode.cpp
index 5ad5ab55d..542185178 100644
--- a/src/keycode.cpp
+++ b/src/keycode.cpp
@@ -20,6 +20,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "keycode.h"
#include "main.h" // For g_settings
#include "exceptions.h"
+#include "settings.h"
class UnknownKeycode : public BaseException
{
@@ -334,7 +335,7 @@ KeyPress getKeySetting(const char *settingname)
if(n)
return n->getValue();
g_key_setting_cache.insert(settingname,
- g_settings.get(settingname).c_str());
+ g_settings->get(settingname).c_str());
return g_key_setting_cache.find(settingname)->getValue();
}