From 18d73165c44e7f8d33347492ed77a16345390929 Mon Sep 17 00:00:00 2001 From: "timeless%mac.com" Date: Sun, 14 Apr 2002 01:28:42 +0000 Subject: [PATCH] Bug 128530 Use |nsISaveAsCharset::attr_EntityAfterCharsetConv| instead of |nsISaveAsCharset::attr_EntityBeforeCharsetConv| in GTK+/Xlib toolkits patch by Roland.Mainz@informatik.med.uni-giessen.de r=rbs rs=attinasi --- gfx/src/gtk/nsFontMetricsGTK.cpp | 2 +- gfx/src/xlib/nsFontMetricsXlib.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/src/gtk/nsFontMetricsGTK.cpp b/gfx/src/gtk/nsFontMetricsGTK.cpp index 56001971b36f..a4acfdd667f4 100644 --- a/gfx/src/gtk/nsFontMetricsGTK.cpp +++ b/gfx/src/gtk/nsFontMetricsGTK.cpp @@ -2549,7 +2549,7 @@ nsFontGTKSubstitute::Convert(const PRUnichar* aSrc, PRUint32 aSrcLen, if (gFontSubConverter) { res = gFontSubConverter->Init("ISO-8859-1", nsISaveAsCharset::attr_FallbackQuestionMark + - nsISaveAsCharset::attr_EntityBeforeCharsetConv, + nsISaveAsCharset::attr_EntityAfterCharsetConv, nsIEntityConverter::transliterate); if (NS_FAILED(res)) { NS_RELEASE(gFontSubConverter); diff --git a/gfx/src/xlib/nsFontMetricsXlib.cpp b/gfx/src/xlib/nsFontMetricsXlib.cpp index 9dce2e3a0abb..8620a859cd35 100644 --- a/gfx/src/xlib/nsFontMetricsXlib.cpp +++ b/gfx/src/xlib/nsFontMetricsXlib.cpp @@ -2749,7 +2749,7 @@ nsFontXlibSubstitute::Convert(const PRUnichar* aSrc, PRUint32 aSrcLen, if (gFontSubConverter) { res = gFontSubConverter->Init("ISO-8859-1", nsISaveAsCharset::attr_FallbackQuestionMark + - nsISaveAsCharset::attr_EntityBeforeCharsetConv, + nsISaveAsCharset::attr_EntityAfterCharsetConv, nsIEntityConverter::transliterate); if (NS_FAILED(res)) NS_RELEASE(gFontSubConverter);