From cdc7cc48f79edf427da2a646d5a25c186ef5fd49 Mon Sep 17 00:00:00 2001 From: Rainer Kottenhoff Date: Tue, 6 Mar 2018 14:05:50 +0100 Subject: [PATCH] + fix: minor changes --- src/Styles.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Styles.c b/src/Styles.c index f4dc0ec12..f18d498f4 100644 --- a/src/Styles.c +++ b/src/Styles.c @@ -5262,8 +5262,8 @@ BOOL Style_SelectFont(HWND hwnd,LPWSTR lpszStyle,int cchStyle, LPCWSTR sLexerNam } } else { - fFontSize = (float)(((int)(fFontSize * 100 + 0.5)) / 100.0); - fNewFontSize = (float)(((int)(fNewFontSize * 100 + 0.5)) / 100.0); + fFontSize = (float)(((int)(fFontSize * 100.0 + 0.5)) / 100.0); + fNewFontSize = (float)(((int)(fNewFontSize * 100.0 + 0.5)) / 100.0); if (fNewFontSize == fFontSize) { if (StrStrI(lpszStyle, L"size:")) { if (HasFractionCent(fNewFontSize))