diff options
Diffstat (limited to 'c/main.cpp')
-rw-r--r-- | c/main.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -18,7 +18,6 @@ int g_bThread; /* Looked-up constants. */ int g_bThemes; -int g_cxVScroll; int g_iDPI = 96; /* Fonts. */ @@ -166,8 +165,6 @@ static LRESULT CALLBACK CBTProc(const int nCode, const WPARAM wParam, const LPAR g_hWnd = (HWND)wParam; /* Look up constants. */ - g_cxVScroll = GetSystemMetrics(SM_CXVSCROLL); - if (auto opLib = maybe_make<Library>(TEXT("User32.dll"))) if (auto GetDpiForWindow = opLib->GetProcAddress<UINT(HWND)>("GetDpiForWindow")) g_iDPI = GetDpiForWindow(g_hWnd); |