mirror of
https://github.com/reactos/reactos.git
synced 2025-01-07 06:45:24 +00:00
[INTL]
- don't display garbage in the location combo box svn path=/trunk/; revision=65122
This commit is contained in:
parent
2fc51b27ef
commit
535667ca32
1 changed files with 3 additions and 1 deletions
|
@ -234,7 +234,9 @@ LocationsEnumProc(GEOID gId)
|
|||
TCHAR loc[MAX_STR_SIZE];
|
||||
INT index;
|
||||
|
||||
GetGeoInfo(gId, GEO_FRIENDLYNAME, loc, MAX_STR_SIZE, LANG_SYSTEM_DEFAULT);
|
||||
if(GetGeoInfo(gId, GEO_FRIENDLYNAME, loc, MAX_STR_SIZE, LANG_SYSTEM_DEFAULT) == 0)
|
||||
return TRUE;
|
||||
|
||||
index = (INT)SendMessage(hGeoList,
|
||||
CB_ADDSTRING,
|
||||
0,
|
||||
|
|
Loading…
Reference in a new issue