summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-07 18:19:34 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-07 18:19:34 +0000
commite5cb033463036b182fb6e5e3eed50a14987f5300 (patch)
treec1e0c20c1fb1808f658f4aadf624a57474576eb4 /plugins/TabSRMM/src
parente2d81fead804c1d7dd557af5d3082ba0399a38c1 (diff)
SKINICONDESC -> MAllStrings
git-svn-id: http://svn.miranda-ng.org/main/trunk@14054 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r--plugins/TabSRMM/src/msgs.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp
index 948e471350..4f2ee0568a 100644
--- a/plugins/TabSRMM/src/msgs.cpp
+++ b/plugins/TabSRMM/src/msgs.cpp
@@ -794,15 +794,15 @@ static int TSAPI SetupIconLibConfig()
FreeLibrary(g_hIconDLL);
g_hIconDLL = 0;
- SKINICONDESC sid = { sizeof(sid) };
- sid.ptszDefaultFile = szFilename;
+ SKINICONDESC sid = { 0 };
+ sid.defaultFile.t = szFilename;
sid.flags = SIDF_PATH_TCHAR;
for (int n = 0; n < SIZEOF(ICONBLOCKS); n++) {
- sid.pszSection = ICONBLOCKS[n].szSection;
+ sid.section.a = ICONBLOCKS[n].szSection;
for (int i = 0; i < ICONBLOCKS[n].nItems; i++) {
sid.pszName = ICONBLOCKS[n].idesc[i].szName;
- sid.pszDescription = ICONBLOCKS[n].idesc[i].szDesc;
+ sid.description.a = ICONBLOCKS[n].idesc[i].szDesc;
sid.iDefaultIndex = ICONBLOCKS[n].idesc[i].uId == -IDI_HISTORY ? 0 : ICONBLOCKS[n].idesc[i].uId; // workaround problem /w icoLib and a resource id of 1 (actually, a Windows problem)
if (n > 0 && n < 4)
@@ -812,21 +812,21 @@ static int TSAPI SetupIconLibConfig()
}
}
- sid.pszSection = LPGEN("Message Sessions")"/"LPGEN("Default");
+ sid.section.a = LPGEN("Message Sessions")"/"LPGEN("Default");
sid.pszName = "tabSRMM_clock_symbol";
- sid.pszDescription = LPGEN("Clock symbol (for the info panel clock)");
+ sid.description.a = LPGEN("Clock symbol (for the info panel clock)");
sid.iDefaultIndex = -IDI_CLOCK;
Skin_AddIcon(&sid);
_tcsncpy(szFilename, _T("plugins\\tabsrmm.dll"), MAX_PATH);
sid.pszName = "tabSRMM_overlay_disabled";
- sid.pszDescription = LPGEN("Feature disabled (used as overlay)");
+ sid.description.a = LPGEN("Feature disabled (used as overlay)");
sid.iDefaultIndex = -IDI_FEATURE_DISABLED;
Skin_AddIcon(&sid);
sid.pszName = "tabSRMM_overlay_enabled";
- sid.pszDescription = LPGEN("Feature enabled (used as overlay)");
+ sid.description.a = LPGEN("Feature enabled (used as overlay)");
sid.iDefaultIndex = -IDI_FEATURE_ENABLED;
Skin_AddIcon(&sid);
return 1;