diff options
Diffstat (limited to 'src/Keys.cc')
-rw-r--r-- | src/Keys.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Keys.cc b/src/Keys.cc index fcf8150..2c5f46c 100644 --- a/src/Keys.cc +++ b/src/Keys.cc | |||
@@ -223,7 +223,7 @@ int Keys::t_key::newindex(lua::state *l) | |||
223 | } else if(l->isnil(3)) | 223 | } else if(l->isnil(3)) |
224 | k2.reset(); | 224 | k2.reset(); |
225 | else { | 225 | else { |
226 | _FB_USES_NLS; | 226 | _FB_USES_NLS; |
227 | throw KeyError(_FB_CONSOLETEXT(Keys, Bad3rdArg, "3rd argument is not a command.", | 227 | throw KeyError(_FB_CONSOLETEXT(Keys, Bad3rdArg, "3rd argument is not a command.", |
228 | "3rd argument is not a command.")); | 228 | "3rd argument is not a command.")); |
229 | } | 229 | } |
@@ -581,7 +581,7 @@ void Keys::reload() { | |||
581 | l.call(0, 0); | 581 | l.call(0, 0); |
582 | } | 582 | } |
583 | catch(std::runtime_error &e) { | 583 | catch(std::runtime_error &e) { |
584 | _FB_USES_NLS; | 584 | _FB_USES_NLS; |
585 | cerr << _FB_CONSOLETEXT(Keys, LoadError, "Error loading keys file: ", | 585 | cerr << _FB_CONSOLETEXT(Keys, LoadError, "Error loading keys file: ", |
586 | "Actual error message follows") << e.what() << endl; | 586 | "Actual error message follows") << e.what() << endl; |
587 | loadDefaults(l); | 587 | loadDefaults(l); |