Fixed a bug in ZLTextStyleEntry::apply
This commit is contained in:
parent
27e8af932d
commit
6385be36c0
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ void ZLTextStyleEntry::apply(const ZLTextStyleEntry &entry) {
|
|||
if (entry.mySupportedFontModifier) {
|
||||
myFontModifier &= ~entry.mySupportedFontModifier;
|
||||
myFontModifier |= (entry.myFontModifier & entry.mySupportedFontModifier);
|
||||
mySupportedFontModifier |= entry.mySupportedFontModifier;
|
||||
}
|
||||
if (entry.fontSizeSupported()) {
|
||||
setFontSizeMag(entry.fontSizeMag());
|
||||
|
|
Loading…
Reference in a new issue