From 688f55ba998c19304a29727c910504903f4cc49a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 30 Nov 2014 18:51:36 +0000 Subject: lstr* replacements git-svn-id: http://svn.miranda-ng.org/main/trunk@11176 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/CountryFlags/src/ip2country.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'plugins/CountryFlags/src') 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