diff options
author | George Hazan <george.hazan@gmail.com> | 2014-11-30 18:51:36 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-11-30 18:51:36 +0000 |
commit | 688f55ba998c19304a29727c910504903f4cc49a (patch) | |
tree | 69121ebb6d02bcf9e670428b11813087fc7f1640 /plugins/CountryFlags | |
parent | 4f0e30cdf56fbafdf955bbe8b93930bab9e39bd0 (diff) |
lstr* replacements
git-svn-id: http://svn.miranda-ng.org/main/trunk@11176 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CountryFlags')
-rw-r--r-- | plugins/CountryFlags/src/ip2country.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/CountryFlags/src/ip2country.cpp b/plugins/CountryFlags/src/ip2country.cpp index 803e8baa72..b47ab8ded7 100644 --- a/plugins/CountryFlags/src/ip2country.cpp +++ b/plugins/CountryFlags/src/ip2country.cpp @@ -210,19 +210,19 @@ static int EnumIpDataLines(const char *pszFileCSV,const char *pszFileOut) if (!lstrcmpi(pszCountry,"ANTARCTICA")) continue;
if (!lstrcmpi(pszCountry,"TIMOR-LESTE")) continue;
if (!lstrcmpi(pszCountry,"PALESTINIAN TERRITORY, OCCUPIED"))
- lstrcpy(pszCountry,"ISRAEL");
+ mir_tstrcpy(pszCountry,"ISRAEL");
else if (!lstrcmpi(pszCountry,"UNITED STATES MINOR OUTLYING ISLANDS"))
- lstrcpy(pszCountry,"UNITED STATES");
+ mir_tstrcpy(pszCountry,"UNITED STATES");
else if (!lstrcmpi(pszCountry,"SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS"))
- lstrcpy(pszCountry,"UNITED KINGDOM");
+ mir_tstrcpy(pszCountry,"UNITED KINGDOM");
else if (!lstrcmpi(pszTwo,"JE")) /* map error */
- lstrcpy(pszCountry,"UNITED KINGDOM");
+ mir_tstrcpy(pszCountry,"UNITED KINGDOM");
else if (!lstrcmpi(pszTwo,"AX")) /* Åland Island belongs to Finland */
- lstrcpy(pszCountry,"FINLAND");
+ mir_tstrcpy(pszCountry,"FINLAND");
else if (!lstrcmpi(pszTwo,"ME"))
- lstrcpy(pszCountry,"MONTENEGRO");
+ mir_tstrcpy(pszCountry,"MONTENEGRO");
else if (!lstrcmpi(pszTwo,"RS") || !lstrcmpi(pszTwo,"CS"))
- lstrcpy(pszCountry,"SERBIA");
+ mir_tstrcpy(pszCountry,"SERBIA");
/* convert */
for(i=0;i<nCountriesCount;i++) {
/* map different writings */
|