aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--embed/mozilla/MozillaPrivate.cpp3
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e482586ae..6fbf48c93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2004-11-13 Christian Persch <chpe@cvs.gnome.org>
+ * embed/mozilla/MozillaPrivate.cpp:
+
+ Better fix for bug #158202, thanks to Christian Biesinger.
+
+2004-11-13 Christian Persch <chpe@cvs.gnome.org>
+
* embed/mozilla/GtkNSSDialogs.cpp:
* embed/mozilla/GtkNSSKeyPairDialogs.cpp:
diff --git a/embed/mozilla/MozillaPrivate.cpp b/embed/mozilla/MozillaPrivate.cpp
index 58789dca4..b47a79b31 100644
--- a/embed/mozilla/MozillaPrivate.cpp
+++ b/embed/mozilla/MozillaPrivate.cpp
@@ -66,8 +66,7 @@ MozillaPrivate::GetPrinterList ()
rv = printer->GetData(data);
NS_ENSURE_SUCCESS(rv, nsnull);
- const nsACString& cData = NS_ConvertUCS2toUTF8 (data);
- printers = g_list_prepend (printers, g_strdup (PromiseFlatCString (cData).get()));
+ printers = g_list_prepend (printers, g_strdup (NS_ConvertUCS2toUTF8 (data).get()));
}
return g_list_reverse (printers);