aboutsummaryrefslogtreecommitdiffstats
path: root/embed
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 /embed
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.
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/EphyHeaderSniffer.cpp2
1 files changed, 1 insertions, 1 deletions
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. */