do not require lng file to have a new key

This commit is contained in:
Mark Vejvoda 2013-06-06 05:51:32 +00:00
parent 4533da71bd
commit 6e38d9b187
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ void Lang::loadStrings(string uselanguage, bool loadFonts,
#endif
if( lang.hasString("ALLOWED_SPECIAL_KEYS")) {
if( lang.hasString("ALLOWED_SPECIAL_KEYS","",false)) {
string allowedKeys = lang.get("ALLOWED_SPECIAL_KEYS");
Window::addAllowedKeys(allowedKeys);
}