Another local string.
This commit is contained in:
@ -1994,12 +1994,10 @@ static void Html_tag_open_font(DilloHtml *html, const char *tag, int tagsize)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ((attrbuf = a_Html_get_attr(html, tag, tagsize, "face"))) {
|
if ((attrbuf = a_Html_get_attr(html, tag, tagsize, "face"))) {
|
||||||
fontFamily = dStrdup(attrbuf);
|
std::string fontFamily = attrbuf;
|
||||||
html->styleEngine->setNonCssHint (CSS_PROPERTY_FONT_FAMILY,
|
html->styleEngine->setNonCssHint (CSS_PROPERTY_FONT_FAMILY,
|
||||||
CSS_TYPE_SYMBOL, fontFamily);
|
CSS_TYPE_SYMBOL, fontFamily.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
dFree(fontFamily);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user