From 90a1a7811fb5adc8174210fd115f2c10414d823d Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 18 Apr 2005 15:42:49 +0000 Subject: [PATCH] Removed unused data fields in the LANG_FIND_DATA structure. --- dlls/kernel/locale.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dlls/kernel/locale.c b/dlls/kernel/locale.c index 7aa71278dbe..23ef0af14be 100644 --- a/dlls/kernel/locale.c +++ b/dlls/kernel/locale.c @@ -130,8 +130,6 @@ typedef struct { WCHAR lang[128]; WCHAR country[4]; LANGID found_lang_id[NLS_MAX_LANGUAGES]; - WCHAR found_language[NLS_MAX_LANGUAGES][3]; - WCHAR found_country[NLS_MAX_LANGUAGES][3]; int n_found; } LANG_FIND_DATA; @@ -395,8 +393,6 @@ static BOOL CALLBACK find_language_id_proc( HMODULE hModule, LPCWSTR type, found: l_data->found_lang_id[l_data->n_found] = LangID; - strncpyW(l_data->found_country[l_data->n_found], buf_country, 3); - strncpyW(l_data->found_language[l_data->n_found], buf_language, 3); l_data->n_found++; TRACE("Found id %04X for lang %s\n", LangID, debugstr_w(l_data->lang)); return (l_data->n_found < NLS_MAX_LANGUAGES); /* continue search, unless we have enough */ -- 2.11.4.GIT