summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowwin32.cpp
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2019-04-08 18:53:47 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2019-04-08 18:53:47 +0300
commit19cae5d2ccbefee3741a80b8bc8e486dccf26873 (patch)
treeac7204bd7ec46a573c373e28b53de1fc00ec5bcd /indra/llwindow/llwindowwin32.cpp
parent110db1173f483e4b62419e7f38deb82d06196837 (diff)
SL-10907 getWidthF32 crash in fonts
Diffstat (limited to 'indra/llwindow/llwindowwin32.cpp')
-rw-r--r--indra/llwindow/llwindowwin32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llwindow/llwindowwin32.cpp b/indra/llwindow/llwindowwin32.cpp
index 504c1589b0..20bf007b09 100644
--- a/indra/llwindow/llwindowwin32.cpp
+++ b/indra/llwindow/llwindowwin32.cpp
@@ -4012,7 +4012,7 @@ void LLWindowWin32::setDPIAwareness()
F32 LLWindowWin32::getSystemUISize()
{
- float scale_value = 0;
+ F32 scale_value = 1.f;
HWND hWnd = (HWND)getPlatformWindow();
HDC hdc = GetDC(hWnd);
HMONITOR hMonitor;