summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-30 21:47:48 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-30 21:47:48 +0000
commita89f0c432f9275be3c7a39b24404a73b13a940f3 (patch)
tree66abbf7b6706b37cb7f063b911aa89b0a6982cd7 /plugins
parent39e61986d467c84a087a82938a03f6b3452312a4 (diff)
- Unicode in names is useless until we deal with the account's name;
- tabs inside are also not recommended git-svn-id: http://svn.miranda-ng.org/main/trunk@2573 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/MetaContacts/src/icons.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/plugins/MetaContacts/src/icons.cpp b/plugins/MetaContacts/src/icons.cpp
index 694c28d7bd..59e60ce5eb 100644
--- a/plugins/MetaContacts/src/icons.cpp
+++ b/plugins/MetaContacts/src/icons.cpp
@@ -1,19 +1,19 @@
#include "metacontacts.h"
typedef struct {
- TCHAR* szDescr;
+ char* szDescr;
char* szName;
int defIconID;
} IconStruct;
static IconStruct iconList[] = {
- { LPGENT("Toggle Off"), "mc_off", IDI_MCMENUOFF },
- { LPGENT("Toggle On"), "mc_on", IDI_MCMENU },
- { LPGENT("Convert to MetaContact"), "mc_convert", IDI_MCCONVERT },
- { LPGENT("Add to Existing"), "mc_add", IDI_MCADD },
- { LPGENT("Edit"), "mc_edit", IDI_MCEDIT },
- { LPGENT("Set to Default"), "mc_default", IDI_MCSETDEFAULT },
- { LPGENT("Remove"), "mc_remove", IDI_MCREMOVE },
+ { LPGEN("Toggle Off"), "mc_off", IDI_MCMENUOFF },
+ { LPGEN("Toggle On"), "mc_on", IDI_MCMENU },
+ { LPGEN("Convert to MetaContact"), "mc_convert", IDI_MCCONVERT },
+ { LPGEN("Add to Existing"), "mc_add", IDI_MCADD },
+ { LPGEN("Edit"), "mc_edit", IDI_MCEDIT },
+ { LPGEN("Set to Default"), "mc_default", IDI_MCSETDEFAULT },
+ { LPGEN("Remove"), "mc_remove", IDI_MCREMOVE },
};
@@ -66,12 +66,12 @@ void InitIcons(void)
GetModuleFileName(hInstance, path, SIZEOF(path));
SKINICONDESC sid = { sizeof(sid) };
- sid.flags = SIDF_ALL_TCHAR;
- sid.ptszSection = _T(META_PROTO);
+ sid.flags = SIDF_PATH_TCHAR;
+ sid.pszSection = META_PROTO;
sid.ptszDefaultFile = path;
for (int i=0; i < SIZEOF(iconList); ++i) {
- sid.ptszDescription = iconList[i].szDescr;
+ sid.pszDescription = iconList[i].szDescr;
sid.pszName = iconList[i].szName;
sid.iDefaultIndex = -iconList[i].defIconID;
Skin_AddIcon(&sid);