summaryrefslogtreecommitdiff
path: root/plugins/Rate/src/main.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2012-08-21 15:26:14 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2012-08-21 15:26:14 +0000
commit23e8be15f5c5e0dc5c064253e3fa6bc4dbd2c506 (patch)
treebbed6482d19168a61a40ee9fbc8fb6763aab1604 /plugins/Rate/src/main.cpp
parent260cf26dec30e33ae3c7c6a91fccc0b4b43b8ce4 (diff)
unicode config for Rate plugin
git-svn-id: http://svn.miranda-ng.org/main/trunk@1515 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Rate/src/main.cpp')
-rw-r--r--plugins/Rate/src/main.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Rate/src/main.cpp b/plugins/Rate/src/main.cpp
index 1fce96c918..8fe42060f1 100644
--- a/plugins/Rate/src/main.cpp
+++ b/plugins/Rate/src/main.cpp
@@ -171,13 +171,13 @@ static void init_icolib (void)
SKINICONDESC sid = {0};
sid.cbSize = sizeof(sid);
- sid.pszSection = Translate("Contact Rate");
- sid.pszDefaultFile = szFile;
- sid.flags = SIDF_PATH_TCHAR;
+ sid.ptszSection = LPGENT("Contact Rate");
+ sid.ptszDefaultFile = szFile;
+ sid.flags = SIDF_ALL_TCHAR;
for (int i = 0; i < SIZEOF(iconList); i++ ) {
sid.pszName = iconList[i].szName;
- sid.pszDescription = iconList[i].szDescr;
+ sid.ptszDescription = iconList[i].szDescr;
sid.iDefaultIndex = -iconList[i].defIconID;
iconList[i].hIconLibItem = Skin_AddIcon(&sid);
}
@@ -220,7 +220,7 @@ int onContactSettingChanged(WPARAM wParam,LPARAM lParam)
{
DBCONTACTWRITESETTING *cws=(DBCONTACTWRITESETTING*)lParam;
- if (wParam != NULL && !lstrcmp(cws->szModule,"CList") && !lstrcmp(cws->szSetting,"Rate"))
+ if (wParam != NULL && !lstrcmpA(cws->szModule,"CList") && !lstrcmpA(cws->szSetting,"Rate"))
setExtaIcon((HANDLE)wParam, cws->value.type == DBVT_DELETED ? 0 : cws->value.bVal);
return 0;