mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-14 21:09:05 +08:00
+ fix: minor changes
This commit is contained in:
parent
8e21ccbc3e
commit
cdc7cc48f7
@ -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))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user