little fix for nls in keys

This commit is contained in:
markt 2006-12-20 16:22:10 +00:00
parent aee80a2424
commit 17a92c3253

View file

@ -146,6 +146,7 @@ bool Keys::load(const char *filename) {
current_line++;
if (!addBinding(linebuffer)) {
_FB_USES_NLS;
cerr<<_FB_CONSOLETEXT(Keys, InvalidKeyMod,
"Keys: Invalid key/modifier on line",
"A bad key/modifier string was found on line (number following)")<<" "<<
@ -196,7 +197,6 @@ bool Keys::addBinding(const string &linebuffer) {
m_map[val[0]] = new t_key(0,0);
current_key = m_map[val[0]];
}
_FB_USES_NLS;
// for each argument
for (; argc < val.size(); argc++) {