diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-27 00:35:25 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-27 00:35:25 +0300 |
commit | 2d161955dabcb5a8a8b6069f94945ec7657805bf (patch) | |
tree | 7d7e86e00f0f1f1e935f2e7bb869e5bc125fbc69 /plugins/TabSRMM/src/themes.cpp | |
parent | 42e20e76dd64d9f11d2f56dda7888476231dee44 (diff) |
fixes #777 (scrollbars disappeared from tabSRMM)
Diffstat (limited to 'plugins/TabSRMM/src/themes.cpp')
-rw-r--r-- | plugins/TabSRMM/src/themes.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/TabSRMM/src/themes.cpp b/plugins/TabSRMM/src/themes.cpp index 749e08ab01..884f952efa 100644 --- a/plugins/TabSRMM/src/themes.cpp +++ b/plugins/TabSRMM/src/themes.cpp @@ -1930,7 +1930,7 @@ UINT CSkin::NcCalcRichEditFrame(HWND hwnd, const CTabBaseDlg *mwdat, UINT skinID ShowScrollBar(hwnd, SB_VERT, FALSE);
}
- LRESULT orig = (MyWndProc == nullptr) ? WVR_REDRAW : mir_callNextSubclass(hwnd, MyWndProc, msg, wParam, lParam);
+ LRESULT orig = mir_callNextSubclass(hwnd, MyWndProc, msg, wParam, lParam);
if (mwdat == nullptr)
return orig;
@@ -1950,10 +1950,7 @@ UINT CSkin::NcCalcRichEditFrame(HWND hwnd, const CTabBaseDlg *mwdat, UINT skinID bReturn = TRUE;
}
ReleaseDC(GetParent(hwnd), hdc);
- if (bReturn)
- return WVR_REDRAW;
- else
- return orig;
+ return (bReturn) ? WVR_REDRAW : orig;
}
if ((mwdat->m_sendMode & SMODE_MULTIPLE || mwdat->m_sendMode & SMODE_CONTAINER ||
mwdat->m_bEditNotesActive || mwdat->m_sendMode & SMODE_SENDLATER) && skinID == ID_EXTBKINPUTAREA) {
|