summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/themes.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-12 15:30:21 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-12 15:30:21 +0000
commitc2cb7db85cbd67c5b95c2735d9b917eb0ac1d234 (patch)
tree730a517f85371ba59019bb80c32f62bbbc4abeb1 /plugins/TabSRMM/src/themes.cpp
parent9ffedbd49389d9aaebb0e118b0c0299b0d4d6a97 (diff)
- fix for a rare crash on tabsrmm tooltips;
- toolbar buttons added to a log git-svn-id: http://svn.miranda-ng.org/main/trunk@5659 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/themes.cpp')
-rw-r--r--plugins/TabSRMM/src/themes.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/themes.cpp b/plugins/TabSRMM/src/themes.cpp
index bb5323d822..8cbcbca575 100644
--- a/plugins/TabSRMM/src/themes.cpp
+++ b/plugins/TabSRMM/src/themes.cpp
@@ -1406,7 +1406,7 @@ void CSkin::Load(void)
return;
TCHAR *p;
- TCHAR *szSections = (TCHAR *)malloc(6004);
+ TCHAR *szSections = (TCHAR*)malloc(6004);
int i = 1, j = 0;
UINT data;
TCHAR buffer[500];
@@ -1573,7 +1573,7 @@ void CSkin::LoadItems()
m_nrSkinIcons = 0;
- szSections = (TCHAR *)malloc((SECT_BUFFER_SIZE + 2) * sizeof(TCHAR));
+ szSections = (TCHAR*)malloc((SECT_BUFFER_SIZE + 2) * sizeof(TCHAR));
ZeroMemory(szSections, (SECT_BUFFER_SIZE + 2) * sizeof(TCHAR));
GetPrivateProfileSection(_T("Icons"), szSections, SECT_BUFFER_SIZE, m_tszFileName);
@@ -1590,7 +1590,7 @@ void CSkin::LoadItems()
ZeroMemory(&m_skinIcons[m_nrSkinIcons], sizeof(TIconDesc));
m_skinIcons[m_nrSkinIcons].uId = tmpIconDesc.uId;
m_skinIcons[m_nrSkinIcons].phIcon = (HICON *)(&m_skinIcons[m_nrSkinIcons].uId);
- m_skinIcons[m_nrSkinIcons].szName = (TCHAR *)malloc(sizeof(TCHAR) * (lstrlen(p) + 1));
+ m_skinIcons[m_nrSkinIcons].szName = (TCHAR*)malloc(sizeof(TCHAR) * (lstrlen(p) + 1));
lstrcpy(m_skinIcons[m_nrSkinIcons].szName, p);
m_nrSkinIcons++;
}