diff options
| -rw-r--r-- | src/mir_core/src/Windows/winutil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_core/src/Windows/winutil.cpp b/src/mir_core/src/Windows/winutil.cpp index 4e4846a467..f4e6a84a0e 100644 --- a/src/mir_core/src/Windows/winutil.cpp +++ b/src/mir_core/src/Windows/winutil.cpp @@ -129,5 +129,5 @@ MIR_CORE_DLL(int) Utils_CorrectFontSize(int size) if (!g_lfDefault.lfWeight) SystemParametersInfoW(SPI_GETICONTITLELOGFONT, sizeof(g_lfDefault), &g_lfDefault, FALSE); - return size * g_lfDefault.lfWeight / -12; + return size * g_lfDefault.lfHeight / -12; } |
