diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-01-29 18:42:11 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-01-29 18:42:11 +0800 |
commit | 7c19c50e52e288159d58a4894a439e6a1fb80b72 (patch) | |
tree | d4c3205a27a0a0e18837da94b0dbdfb444d69c4c /embed/mozilla | |
parent | c00045335cefa6e2b657934424dcb25a55da9e08 (diff) | |
download | gsoc2013-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/mozilla')
-rw-r--r-- | embed/mozilla/EphyHeaderSniffer.cpp | 2 |
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. */ |