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

View File

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