From b74f4d512e0a03263ff30d13990a679f9e580fdb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 14 Aug 2013 23:19:55 +0000 Subject: - 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 --- plugins/TabSRMM/src/msgdlgutils.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/TabSRMM/src/msgdlgutils.cpp') diff --git a/plugins/TabSRMM/src/msgdlgutils.cpp b/plugins/TabSRMM/src/msgdlgutils.cpp index 4cc2f2d67e..c9e2dc7234 100644 --- a/plugins/TabSRMM/src/msgdlgutils.cpp +++ b/plugins/TabSRMM/src/msgdlgutils.cpp @@ -248,7 +248,7 @@ void TSAPI CalcDynamicAvatarSize(TWindowData *dat, BITMAP *bminfo) BOOL bBottomToolBar=dat->pContainer->dwFlags & CNT_BOTTOMTOOLBAR; BOOL bToolBar=dat->pContainer->dwFlags & CNT_HIDETOOLBAR?0:1; bool bInfoPanel = dat->Panel->isActive(); - int iSplitOffset = dat->fIsAutosizingInput ? 1 : 0; + int iSplitOffset = dat->bIsAutosizingInput ? 1 : 0; if (PluginConfig.g_FlashAvatarAvail) { FLASHAVATAR fa = {0}; @@ -908,7 +908,7 @@ void TSAPI FlashOnClist(HWND hwndDlg, TWindowData *dat, HANDLE hEvent, DBEVENTIN if ((GetForegroundWindow() != dat->pContainer->hwnd || dat->pContainer->hwndActive != hwndDlg) && !(dbei->flags & DBEF_SENT) && dbei->eventType == EVENTTYPE_MESSAGE && !(dat->dwFlagsEx & MWF_SHOW_FLASHCLIST)) { ZeroMemory(&cle, sizeof(cle)); cle.cbSize = sizeof(cle); - cle.hContact = (HANDLE) dat->hContact; + cle.hContact = (HANDLE)dat->hContact; cle.hDbEvent = hEvent; cle.hIcon = LoadSkinnedIcon(SKINICON_EVENT_MESSAGE); cle.pszService = "SRMsg/ReadMessage"; @@ -1450,7 +1450,7 @@ void TSAPI SaveSplitter(TWindowData *dat) return; #if defined(__FEAT_EXP_AUTOSPLITTER) - if (dat->fIsAutosizingInput) + if (dat->bIsAutosizingInput) return; #endif if (dat->splitterY < DPISCALEY_S(MINSPLITTERY) || dat->splitterY < 0) @@ -1469,7 +1469,7 @@ void TSAPI SaveSplitter(TWindowData *dat) void TSAPI LoadSplitter(TWindowData *dat) { #if defined(__FEAT_EXP_AUTOSPLITTER) - if (dat->fIsAutosizingInput) { + if (dat->bIsAutosizingInput) { dat->splitterY = GetDefaultMinimumInputHeight(dat); return; } @@ -2345,7 +2345,7 @@ bool TSAPI IsAutoSplitEnabled(const TWindowData *dat) #if defined(__FEAT_EXP_AUTOSPLITTER) return((dat && (dat->pContainer->dwFlags & CNT_AUTOSPLITTER) && !(dat->dwFlagsEx & MWF_SHOW_SPLITTEROVERRIDE)) ? true : false); #else - return(false); + return false; #endif } -- cgit v1.2.3