diff options
author | George Hazan <ghazan@miranda.im> | 2022-06-17 11:16:05 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-06-17 11:16:05 +0300 |
commit | 308358f6e93fa4b8930ff7e27647fd0c698c5f60 (patch) | |
tree | b4d9eedb4a1f63b195ec8d8a40f7db81c8b68d3a | |
parent | b306ebad307bc450d0639ee0169976fa50a84b40 (diff) |
typo fix
-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; } |