From b3b40071d58d0dc3738c3a4542efb841b8395e71 Mon Sep 17 00:00:00 2001 From: erg Date: Wed, 13 Oct 2010 21:08:54 +0000 Subject: [PATCH] Fix bug in font flags. We need to or the flags. --- lib/common/htmlparse.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/common/htmlparse.y b/lib/common/htmlparse.y index 12209fe37..3d0fb79d0 100644 --- a/lib/common/htmlparse.y +++ b/lib/common/htmlparse.y @@ -382,8 +382,8 @@ pushFont (htmlfont_t *f) f->size = curfont->size; if (!f->name && curfont->name) f->name = strdup(curfont->name); - if (!f->flags && curfont->flags) - f->flags = curfont->flags; + if (curfont->flags) + f->flags |= curfont->flags; } ft->cfont = dupFont (f); -- 2.40.0