Fix build bustage

git-svn-id: svn://10.0.0.236/trunk@7668 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
spider%netscape.com 1998-08-10 18:50:59 +00:00
parent d4bb51be47
commit f307a7b044

View File

@ -126,7 +126,7 @@ nsresult nsFontMetricsUnix :: Init(const nsFont& aFont, nsIDeviceContext* aCX)
{
//we were not able to match the font name at all...
const char *newname = firstFace.ToNewCString();
char *newname = firstFace.ToNewCString();
PR_snprintf(&wildstring[namelen + 1], namelen + 200,
"*-%s-%s-%c-normal--*-*-%d-%d-*-*-*",