diff options
author | George Hazan <george.hazan@gmail.com> | 2013-08-14 23:19:55 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-08-14 23:19:55 +0000 |
commit | b74f4d512e0a03263ff30d13990a679f9e580fdb (patch) | |
tree | d01ce2dc72fe34d98c7c6dec7eb11f92ed1e5d44 /plugins/TabSRMM/src/themes.cpp | |
parent | 9cb9726232452d2b2cabf6913770e6f404cab952 (diff) |
- fix for a nasty bug in tabSRMM popup headers;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@5696 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/themes.cpp')
-rw-r--r-- | plugins/TabSRMM/src/themes.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/themes.cpp b/plugins/TabSRMM/src/themes.cpp index b879ed95c4..d1c97d4276 100644 --- a/plugins/TabSRMM/src/themes.cpp +++ b/plugins/TabSRMM/src/themes.cpp @@ -2231,9 +2231,9 @@ bool __fastcall CSkin::DrawItem(const HDC hdc, const RECT *rc, const CSkinItem * if (!item->IGNORED) {
::DrawAlpha(hdc, const_cast<RECT *>(rc), item->COLOR, item->ALPHA, item->COLOR2, item->COLOR2_TRANSPARENT,
item->GRADIENT, item->CORNER, item->BORDERSTYLE, item->imageItem);
- return(true);
+ return true;;
}
- return(false);
+ return false;
}
/**
@@ -2332,7 +2332,7 @@ void CSkin::RenderToolbarBG(const TWindowData *dat, HDC hdc, const RECT &rcWindo }
::GetWindowRect(::GetDlgItem(dat->hwnd, dat->bType == SESSIONTYPE_CHAT ? IDC_CHAT_MESSAGE : IDC_MESSAGE), &rc);
- pt.y = rc.top - (dat->fIsAutosizingInput ? 1 : 2);
+ pt.y = rc.top - (dat->bIsAutosizingInput ? 1 : 2);
::ScreenToClient(dat->hwnd, &pt);
rcToolbar.bottom = pt.y;
}
|