summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/generic_msghandlers.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-03 21:56:17 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-03 21:56:17 +0000
commitfc3091cb598ad8401fb4af2a6e3931141c9895a1 (patch)
treecdbf34b27d1ff8d5986f687a9c51e93a0099bf55 /plugins/TabSRMM/src/generic_msghandlers.cpp
parent98ad0478550773f19712b598edc56ef7dbea2985 (diff)
- old junk removed from tabSRMM & replaced with the modern calls
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@5572 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/generic_msghandlers.cpp')
-rw-r--r--plugins/TabSRMM/src/generic_msghandlers.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp
index 025f5212c2..5c21fe093c 100644
--- a/plugins/TabSRMM/src/generic_msghandlers.cpp
+++ b/plugins/TabSRMM/src/generic_msghandlers.cpp
@@ -36,7 +36,7 @@
/**
* Save message log for given session as RTF document
*/
-void TSAPI DM_SaveLogAsRTF(const TWindowData* dat)
+void TSAPI DM_SaveLogAsRTF(const TWindowData *dat)
{
TCHAR szFilename[MAX_PATH];
OPENFILENAME ofn = {0};
@@ -92,7 +92,7 @@ void TSAPI DM_SaveLogAsRTF(const TWindowData* dat)
*
* If no session in the container disagrees, the container will be hidden.
*/
-void TSAPI DM_CheckAutoHide(const TWindowData* dat, WPARAM wParam, LPARAM lParam)
+void TSAPI DM_CheckAutoHide(const TWindowData *dat, WPARAM wParam, LPARAM lParam)
{
if (dat && lParam) {
BOOL *fResult = (BOOL *)lParam;
@@ -1946,7 +1946,7 @@ void DrawStatusIcons(struct TWindowData *dat, HDC hDC, RECT r, int gap)
else
hIcon = si->hIcon;
- if (si->flags & MBF_DISABLED && si->hIconDisabled == (HICON)0)
+ if ((si->flags & MBF_DISABLED) && si->hIconDisabled == NULL)
CSkin::DrawDimmedIcon(hDC, x, y, cx_icon, cy_icon, hIcon, 50);
else
DrawIconEx(hDC, x, y, hIcon, 16, 16, 0, NULL, DI_NORMAL);