Bug 335343. Fix copy-paste error in nsFontMetricsPango. patch by Darshan Santani, r=roc

git-svn-id: svn://10.0.0.236/trunk@195405 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
roc+%cs.cmu.edu 2006-04-25 23:21:09 +00:00
parent 4515e75676
commit de521137f8

View File

@ -1569,7 +1569,7 @@ CalculateStyle(PRUint8 aStyle)
{
switch(aStyle) {
case NS_FONT_STYLE_ITALIC:
return PANGO_STYLE_OBLIQUE;
return PANGO_STYLE_ITALIC;
break;
case NS_FONT_STYLE_OBLIQUE:
return PANGO_STYLE_OBLIQUE;