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/globals.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/globals.cpp')
-rw-r--r-- | plugins/TabSRMM/src/globals.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/TabSRMM/src/globals.cpp b/plugins/TabSRMM/src/globals.cpp index f5227a5ff8..c69c2e941f 100644 --- a/plugins/TabSRMM/src/globals.cpp +++ b/plugins/TabSRMM/src/globals.cpp @@ -96,8 +96,8 @@ void CGlobals::reloadSystemStartup() hCurHyperlinkHand = LoadCursor(g_hInst, MAKEINTRESOURCE(IDC_HYPERLINKHAND));
HDC hScrnDC = GetDC(0);
- g_DPIscaleX = GetDeviceCaps(hScrnDC, LOGPIXELSX) / 96.0;
- g_DPIscaleY = GetDeviceCaps(hScrnDC, LOGPIXELSY) / 96.0;
+ m_DPIscaleX = GetDeviceCaps(hScrnDC, LOGPIXELSX) / 96.0;
+ m_DPIscaleY = GetDeviceCaps(hScrnDC, LOGPIXELSY) / 96.0;
ReleaseDC(0, hScrnDC);
reloadSettings(false);
@@ -130,10 +130,10 @@ void CGlobals::reloadSystemModulesChanged() }
else db_set_b(0, SRMSGMOD_T, "ieview_installed", 0);
- g_iButtonsBarGap = M.GetByte("ButtonsBarGap", 1);
+ m_iButtonsBarGap = M.GetByte("ButtonsBarGap", 1);
m_hwndClist = (HWND)CallService(MS_CLUI_GETHWND, 0, 0);
- g_PopupAvail = ServiceExists(MS_POPUP_ADDPOPUPT);
+ g_bPopupAvail = ServiceExists(MS_POPUP_ADDPOPUPT) != 0;
CLISTMENUITEM mi = { sizeof(mi) };
mi.position = -2000090000;
@@ -345,7 +345,7 @@ int CGlobals::ModulesLoaded(WPARAM, LPARAM) ::RegisterFontServiceFonts();
::CacheLogFonts();
- if (PluginConfig.g_PopupAvail)
+ if (PluginConfig.g_bPopupAvail)
TN_ModuleInit();
HookEvent(ME_DB_CONTACT_SETTINGCHANGED, DBSettingChanged);
|