diff options
Diffstat (limited to 'plugins/QuickMessages/src/Utils.cpp')
-rw-r--r-- | plugins/QuickMessages/src/Utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/QuickMessages/src/Utils.cpp b/plugins/QuickMessages/src/Utils.cpp index 8ae1829407..261e42198e 100644 --- a/plugins/QuickMessages/src/Utils.cpp +++ b/plugins/QuickMessages/src/Utils.cpp @@ -232,7 +232,7 @@ static HANDLE AddIcon(char* szIcoName) TCHAR tszPath[MAX_PATH]; GetModuleFileName(hinstance, tszPath, SIZEOF(tszPath)); - SKINICONDESC sid = { 0 };
+ SKINICONDESC sid = { 0 }; sid.flags = SIDF_PATH_TCHAR; sid.section.a = "Quick Messages"; sid.cx = sid.cy = 16; @@ -240,7 +240,7 @@ static HANDLE AddIcon(char* szIcoName) sid.pszName = szIcoName; sid.defaultFile.t = tszPath; sid.iDefaultIndex = -IDI_QICON; - return Skin_AddIcon(&sid); + return IcoLib_AddIcon(&sid); } DWORD BalanceButtons(int buttonsWas, int buttonsNow) |