From 47b64a55f3b8866924631ad9c22757eda9fb45c2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 18 Jun 2022 13:53:55 +0300 Subject: =?UTF-8?q?fixes=20#3104=20(=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D1=80=D0=B0=D0=B7=D0=BC=D0=B5=D1=80=D0=B0?= =?UTF-8?q?=20=D1=88=D1=80=D0=B8=D1=84=D1=82=D0=B0=20=D0=B2=20=D1=87=D0=B0?= =?UTF-8?q?=D1=82=D0=B5=20=D0=B4=D0=B5=D0=BB=D0=B0=D0=B5=D1=82=20=D0=B5?= =?UTF-8?q?=D0=B3=D0=BE=20=D0=B3=D0=B8=D0=B3=D0=B0=D0=BD=D1=82=D1=81=D0=BA?= =?UTF-8?q?=D0=B8=D0=BC)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/stdmsg/src/msgoptions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/stdmsg') diff --git a/src/core/stdmsg/src/msgoptions.cpp b/src/core/stdmsg/src/msgoptions.cpp index 5e52bbceed..aa22201609 100644 --- a/src/core/stdmsg/src/msgoptions.cpp +++ b/src/core/stdmsg/src/msgoptions.cpp @@ -60,7 +60,7 @@ bool LoadMsgDlgFont(int i, LOGFONT* lf, COLORREF * colour) } if (lf) { mir_snprintf(str, "SRMFont%dSize", i); - lf->lfHeight = Utils_CorrectFontSize(g_plugin.getByte(str, fontOptionsList[i].defSize)); + lf->lfHeight = (char)g_plugin.getByte(str, Utils_CorrectFontSize(fontOptionsList[i].defSize)); lf->lfWidth = 0; lf->lfEscapement = 0; lf->lfOrientation = 0; -- cgit v1.2.3