Fixed: Bad font default size

hg/feature/sound
kervala 14 years ago
parent 81d2817c44
commit e4fba623dc

@ -878,6 +878,10 @@ void CGroupHTML::beginElement (uint element_number, const BOOL *present, const c
fromString(value[HTML_FONT_SIZE], fontsize); fromString(value[HTML_FONT_SIZE], fontsize);
_FontSize.push_back(fontsize); _FontSize.push_back(fontsize);
} }
else
{
_FontSize.push_back(_FontSize.empty() ? TextFontSize : _FontSize.back());
}
} }
break; break;
case HTML_BR: case HTML_BR:

Loading…
Cancel
Save