From: erg Date: Wed, 13 Oct 2010 21:08:54 +0000 (+0000) Subject: Fix bug in font flags. We need to or the flags. X-Git-Tag: LAST_LIBGRAPH~32^2~1171 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b3b40071d58d0dc3738c3a4542efb841b8395e71;p=graphviz Fix bug in font flags. We need to or the flags. --- 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);