mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-22 21:34:58 +02:00
Fix themes' inconsistent behaviour after saving
Don't write the fontStyle attribute in the theme if it doesn't exist. Fix #12642, close #12644
This commit is contained in:
parent
109ad868b3
commit
4276165bbd
@ -408,7 +408,7 @@ struct Style final
|
||||
|
||||
bool _isFontEnabled = false;
|
||||
generic_string _fontName;
|
||||
int _fontStyle = FONTSTYLE_NONE;
|
||||
int _fontStyle = STYLE_NOT_USED;
|
||||
int _fontSize = STYLE_NOT_USED;
|
||||
|
||||
int _nesting = FONTSTYLE_NONE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user