aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.h
diff options
context:
space:
mode:
authorMarkus Nißl <unknown>2023-06-22 22:31:07 +1000
committerMarkus Nißl <unknown>2023-06-22 22:31:07 +1000
commit0ffbc41582dd7fe85093a7ea3f21459890eab03d (patch)
tree0f235206dee37a7a063d3ae3c70c5cddb2b916c3 /win32/PlatWin.h
parent5ad83ff87df54c085be87cde61215b3ee32a2e1a (diff)
downloadscintilla-mirror-0ffbc41582dd7fe85093a7ea3f21459890eab03d.tar.gz
Bug [#2382]. Fix reverse arrow cursor when scaled.
Diffstat (limited to 'win32/PlatWin.h')
-rw-r--r--win32/PlatWin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/PlatWin.h b/win32/PlatWin.h
index 8ce798cf1..f010923f2 100644
--- a/win32/PlatWin.h
+++ b/win32/PlatWin.h
@@ -46,7 +46,7 @@ void SetWindowPointer(HWND hWnd, void *ptr) noexcept;
HMONITOR MonitorFromWindowHandleScaling(HWND hWnd) noexcept;
UINT DpiForWindow(WindowID wid) noexcept;
-int GetDeviceScaleFactorWhenGdiScalingActive(HWND hWnd) noexcept;
+float GetDeviceScaleFactorWhenGdiScalingActive(HWND hWnd) noexcept;
int SystemMetricsForDpi(int nIndex, UINT dpi) noexcept;