Fixed a bug in ZLTextStyleEntry::apply

This commit is contained in:
Slava Monich 2015-07-06 16:46:37 +03:00
parent 27e8af932d
commit 6385be36c0

View file

@ -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());