From 77ad893a7bb9797fb81a236cc3f915b5a86da4e4 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Sun, 22 Jul 2012 11:43:08 +0400 Subject: [PATCH] kernel32: Forward GetLocaleInfoEx() to GetLocaleInfoW(). --- dlls/kernel32/locale.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dlls/kernel32/locale.c b/dlls/kernel32/locale.c index ac708c31d9b..0afe89d758a 100644 --- a/dlls/kernel32/locale.c +++ b/dlls/kernel32/locale.c @@ -1416,14 +1416,10 @@ INT WINAPI GetLocaleInfoW( LCID lcid, LCTYPE lctype, LPWSTR buffer, INT len ) /****************************************************************************** * GetLocaleInfoEx (KERNEL32.@) - * - * FIXME: Should probably be a wrapper around GetLocaleInfo() (or vice-versa). */ INT WINAPI GetLocaleInfoEx(LPCWSTR locale, LCTYPE info, LPWSTR buffer, INT len) { - FIXME("(locale=%s,info=0x%x,%p,%d): stub!\n", debugstr_w(locale), info, buffer, len); - SetLastError(ERROR_INVALID_PARAMETER); - return 0; + return GetLocaleInfoW(LocaleNameToLCID(locale, 0), info, buffer, len); } /******************************************************************************