diff options
author | markt <markt> | 2006-12-20 16:22:10 (GMT) |
---|---|---|
committer | markt <markt> | 2006-12-20 16:22:10 (GMT) |
commit | 17a92c3253e62798aa7efcb95b4d0bdd1ac29dcd (patch) | |
tree | 56ad01311725ee2af2dbf433a8a0f54c4f7adb7d | |
parent | aee80a2424d7b5f96a4c4a6817744709acbaef38 (diff) | |
download | fluxbox_lack-17a92c3253e62798aa7efcb95b4d0bdd1ac29dcd.zip fluxbox_lack-17a92c3253e62798aa7efcb95b4d0bdd1ac29dcd.tar.bz2 |
little fix for nls in keys
-rw-r--r-- | src/Keys.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Keys.cc b/src/Keys.cc index 2404a0a..72e3112 100644 --- a/src/Keys.cc +++ b/src/Keys.cc | |||
@@ -146,6 +146,7 @@ bool Keys::load(const char *filename) { | |||
146 | current_line++; | 146 | current_line++; |
147 | 147 | ||
148 | if (!addBinding(linebuffer)) { | 148 | if (!addBinding(linebuffer)) { |
149 | _FB_USES_NLS; | ||
149 | cerr<<_FB_CONSOLETEXT(Keys, InvalidKeyMod, | 150 | cerr<<_FB_CONSOLETEXT(Keys, InvalidKeyMod, |
150 | "Keys: Invalid key/modifier on line", | 151 | "Keys: Invalid key/modifier on line", |
151 | "A bad key/modifier string was found on line (number following)")<<" "<< | 152 | "A bad key/modifier string was found on line (number following)")<<" "<< |
@@ -196,7 +197,6 @@ bool Keys::addBinding(const string &linebuffer) { | |||
196 | m_map[val[0]] = new t_key(0,0); | 197 | m_map[val[0]] = new t_key(0,0); |
197 | current_key = m_map[val[0]]; | 198 | current_key = m_map[val[0]]; |
198 | } | 199 | } |
199 | _FB_USES_NLS; | ||
200 | // for each argument | 200 | // for each argument |
201 | for (; argc < val.size(); argc++) { | 201 | for (; argc < val.size(); argc++) { |
202 | 202 | ||