aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-01-29 18:42:11 +0800
committerChristian Persch <chpe@src.gnome.org>2004-01-29 18:42:11 +0800
commit7c19c50e52e288159d58a4894a439e6a1fb80b72 (patch)
treed4c3205a27a0a0e18837da94b0dbdfb444d69c4c
parentc00045335cefa6e2b657934424dcb25a55da9e08 (diff)
downloadgsoc2013-epiphany-7c19c50e52e288159d58a4894a439e6a1fb80b72.tar
gsoc2013-epiphany-7c19c50e52e288159d58a4894a439e6a1fb80b72.tar.gz
gsoc2013-epiphany-7c19c50e52e288159d58a4894a439e6a1fb80b72.tar.bz2
gsoc2013-epiphany-7c19c50e52e288159d58a4894a439e6a1fb80b72.tar.lz
gsoc2013-epiphany-7c19c50e52e288159d58a4894a439e6a1fb80b72.tar.xz
gsoc2013-epiphany-7c19c50e52e288159d58a4894a439e6a1fb80b72.tar.zst
gsoc2013-epiphany-7c19c50e52e288159d58a4894a439e6a1fb80b72.zip
Fix encodign conversion of "Untitled" filename suggestion. Fixes bug
2004-01-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyHeaderSniffer.cpp: Fix encodign conversion of "Untitled" filename suggestion. Fixes bug #132822.
-rw-r--r--ChangeLog7
-rw-r--r--embed/mozilla/EphyHeaderSniffer.cpp2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0ff5a51de..e5bb83ee3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-01-29 Christian Persch <chpe@cvs.gnome.org>
+
+ * embed/mozilla/EphyHeaderSniffer.cpp:
+
+ Fix encodign conversion of "Untitled" filename suggestion.
+ Fixes bug #132822.
+
2004-01-28 Christian Persch <chpe@cvs.gnome.org>
* src/bookmarks/ephy-bookmarks-import.c:
diff --git a/embed/mozilla/EphyHeaderSniffer.cpp b/embed/mozilla/EphyHeaderSniffer.cpp
index cfd61913f..8d8e2d0b3 100644
--- a/embed/mozilla/EphyHeaderSniffer.cpp
+++ b/embed/mozilla/EphyHeaderSniffer.cpp
@@ -286,7 +286,7 @@ nsresult EphyHeaderSniffer::PerformSave (nsIURI* inOriginalURI)
/* 5 One last case to handle about:blank and other untitled pages. */
if (defaultFileName.IsEmpty())
{
- defaultFileName.AssignWithConversion(_("Untitled"));
+ defaultFileName = NS_ConvertUTF8toUCS2 (_("Untitled"));
}
/* Validate the file name to ensure legality. */