diff options
author | George Hazan <george.hazan@gmail.com> | 2015-02-21 12:21:36 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-02-21 12:21:36 +0000 |
commit | 8d23d76f0d43ca65a3c6a259382d26df567b2356 (patch) | |
tree | 17011297e23a7acde36b4b80cccf8478c5ce62f7 /plugins/TabSRMM/src/infopanel.cpp | |
parent | 370ee3e9fdee080643048aa5d13ecffc0370bfc3 (diff) |
- fix for underlining processing;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@12231 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/infopanel.cpp')
-rw-r--r-- | plugins/TabSRMM/src/infopanel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/infopanel.cpp b/plugins/TabSRMM/src/infopanel.cpp index b0092883e0..56f06d9617 100644 --- a/plugins/TabSRMM/src/infopanel.cpp +++ b/plugins/TabSRMM/src/infopanel.cpp @@ -1091,7 +1091,7 @@ INT_PTR CALLBACK CInfoPanel::ConfigDlgProc(HWND hwnd, UINT msg, WPARAM wParam, L ::SendDlgItemMessage(hwnd, IDC_PANELPICTUREVIS, CB_INSERTSTRING, -1, (LPARAM)TranslateT("Never show it at all"));
::SendDlgItemMessage(hwnd, IDC_PANELPICTUREVIS, CB_SETCURSEL, (v == (BYTE)-1 ? 0 : (v == 1 ? 1 : 2)), 0);
}
- else Utils::enableDlgControl(hwnd, IDC_PANELPICTUREVIS, FALSE);
+ else Utils::enableDlgControl(hwnd, IDC_PANELPICTUREVIS, false);
}
return FALSE;
@@ -1387,7 +1387,7 @@ void CTip::show(const RECT& rc, POINT& pt, const HICON hIcon, const TCHAR *szTit m_rcRich.left = LEFT_BORDER + m_leftWidth; m_rcRich.top = TOP_BORDER;
m_rcRich.right -= (LEFT_BORDER + RIGHT_BORDER + m_leftWidth);
- int twips = (int)(15.0f / PluginConfig.g_DPIscaleY);
+ int twips = (int)(15.0f / PluginConfig.m_DPIscaleY);
m_rcRich.right = m_rcRich.left + (twips * (m_rcRich.right - m_rcRich.left)) - 10 * twips;
m_rcRich.bottom = m_rcRich.top + (twips * (m_rcRich.bottom - m_rcRich.top));
|