Update strings.c

This commit is contained in:
programatix 2019-07-04 15:18:22 +08:00 committed by Frank Morgner
parent 6b97071bb3
commit 130e9bb068
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ const char *ui_get_str(struct sc_context *ctx, struct sc_atr *atr,
|| !find_lang_str(p15card->tokeninfo->preferred_language, &lang)) {
#ifdef _WIN32
LANGID langid = GetUserDefaultUILanguage();
if (langid == LANG_GERMAN) {
if ((langid & LANG_GERMAN) == LANG_GERMAN) {
lang = DE;
}
#else