From 63d14daafb54545ea1374641abc1ef2b992cc772 Mon Sep 17 00:00:00 2001 From: "roc+%cs.cmu.edu" Date: Tue, 25 Apr 2006 23:20:00 +0000 Subject: [PATCH] Bug 335343. Fix copy-paste error in nsFontMetricsPango. patch by Darshan Santani, r=roc --- gfx/src/gtk/nsFontMetricsPango.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/src/gtk/nsFontMetricsPango.cpp b/gfx/src/gtk/nsFontMetricsPango.cpp index 6797ea1a544..368fe72951c 100644 --- a/gfx/src/gtk/nsFontMetricsPango.cpp +++ b/gfx/src/gtk/nsFontMetricsPango.cpp @@ -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;