summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_clui.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-01-23 19:11:17 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-01-23 19:11:17 +0000
commitfed531ab4372f6199e8e2fcc1659dbaf9bc97a5a (patch)
tree9b68ef93132522d22c8f3ba67538a1e3bac9355c /plugins/Clist_modern/src/modern_clui.cpp
parent1020deb3706978f331a8c1f33df52ad8d0ce4908 (diff)
wiping out old garbage from clist modern
git-svn-id: http://svn.miranda-ng.org/main/trunk@3254 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_clui.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_clui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_modern/src/modern_clui.cpp b/plugins/Clist_modern/src/modern_clui.cpp
index 9459856ce4..1d113d2437 100644
--- a/plugins/Clist_modern/src/modern_clui.cpp
+++ b/plugins/Clist_modern/src/modern_clui.cpp
@@ -1667,7 +1667,7 @@ static BOOL FileExists(TCHAR * tszFilename)
return TRUE;
}
-HANDLE RegisterIcolibIconHandle(char * szIcoID, char *szSectionName, char * szDescription, TCHAR * tszDefaultFile, int iDefaultIndex, HINSTANCE hDefaultModuleInst, int iDefaultResource )
+HANDLE RegisterIcolibIconHandle(char *szIcoID, char *szSectionName, char *szDescription, TCHAR *tszDefaultFile, int iDefaultIndex, HINSTANCE hDefaultModuleInst, int iDefaultResource )
{
if (hDefaultModuleInst == NULL)
return LoadSkinnedIconHandle(iDefaultResource);
@@ -1689,10 +1689,10 @@ HANDLE RegisterIcolibIconHandle(char * szIcoID, char *szSectionName, char * szD
}
if (fileFull[0] != _T('\0'))
- sid.iDefaultIndex = iDefaultIndex;
+ sid.iDefaultIndex = -iDefaultIndex;
else {
GetModuleFileName(hDefaultModuleInst, fileFull, SIZEOF(fileFull));
- sid.iDefaultIndex = iDefaultResource;
+ sid.iDefaultIndex = -iDefaultResource;
}
return Skin_AddIcon(&sid);