Module: wine Branch: master Commit: 8274786fa87678508006351fad91bc0fce22062b URL: http://source.winehq.org/git/wine.git/?a=commit;h=8274786fa87678508006351fad...
Author: Jeff Zaroyko jeffz@jeffz.name Date: Tue Aug 25 21:02:14 2009 +1000
kernel32: sLanguage is LOCALE_SABBREVLANGNAME.
---
dlls/kernel32/locale.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/kernel32/locale.c b/dlls/kernel32/locale.c index fa17689..9071ff9 100644 --- a/dlls/kernel32/locale.c +++ b/dlls/kernel32/locale.c @@ -673,7 +673,7 @@ void LOCALE_InitRegistry(void) { maccpW, LOCALE_IDEFAULTMACCODEPAGE } }; static const LCTYPE lc_messages_values[] = { - LOCALE_SLANGUAGE, + LOCALE_SABBREVLANGNAME, LOCALE_SCOUNTRY, LOCALE_SLIST }; static const LCTYPE lc_monetary_values[] = { @@ -1051,7 +1051,7 @@ static const WCHAR *get_locale_value_name( DWORD lctype ) case LOCALE_ILDATE: return iLDateW; case LOCALE_ITLZERO: return iTLZeroW; case LOCALE_SCOUNTRY: return sCountryW; - case LOCALE_SLANGUAGE: return sLanguageW; + case LOCALE_SABBREVLANGNAME: return sLanguageW;
/* The following are used in XP and later */ case LOCALE_IDIGITSUBSTITUTION: return NumShapeW;