diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-22 16:09:19 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-22 16:09:19 +0000 |
commit | e180fa60516c6133cef12d839ce8eaea6adcbfad (patch) | |
tree | 5eb76050ce9c444dd3bcee87715cb9033b12483b /plugins/CountryFlags/src/icons.cpp | |
parent | ec0e2844534a148012b76debb6eff48d8c1931a8 (diff) |
added version info
git-svn-id: http://svn.miranda-ng.org/main/trunk@3690 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CountryFlags/src/icons.cpp')
-rw-r--r-- | plugins/CountryFlags/src/icons.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/CountryFlags/src/icons.cpp b/plugins/CountryFlags/src/icons.cpp index 5e2bcae8a7..34324005ad 100644 --- a/plugins/CountryFlags/src/icons.cpp +++ b/plugins/CountryFlags/src/icons.cpp @@ -44,7 +44,7 @@ const int BitmapIndexMap[232]={ 974, 975, 976, 977, 994, 995,1141,2691,3811,4101,6101,6722
};
-static int FASTCALL CountryNumberToBitmapIndex(int countryNumber)
+static int __fastcall CountryNumberToBitmapIndex(int countryNumber)
{
/* shared flags by multiple countries */
switch(countryNumber) {
@@ -94,7 +94,7 @@ static int FASTCALL CountryNumberToBitmapIndex(int countryNumber) // return value needs to be released using DestroyIcon()
// only operates on color icons, which isn't a problem here
-static HICON FASTCALL ResizeIconCentered(HICON hIcon,int cx,int cy)
+static HICON __fastcall ResizeIconCentered(HICON hIcon,int cx,int cy)
{
HICON hResIcon=NULL;
HDC hdc = CreateCompatibleDC(NULL);
@@ -143,7 +143,7 @@ static HICON FASTCALL ResizeIconCentered(HICON hIcon,int cx,int cy) /************************* Utils **********************************/
-HICON FASTCALL LoadFlagIcon(int countryNumber)
+HICON __fastcall LoadFlagIcon(int countryNumber)
{
/* create identifier */
char *szCountry = (char*)CallService(MS_UTILS_GETCOUNTRYBYNUMBER, countryNumber, 0);
@@ -155,7 +155,7 @@ HICON FASTCALL LoadFlagIcon(int countryNumber) return Skin_GetIcon(szId);
}
-int FASTCALL CountryNumberToIndex(int countryNumber)
+int __fastcall CountryNumberToIndex(int countryNumber)
{
int nf=0;
for(int i=0; i < nCountriesCount; ++i) {
|