From c1600d449b6167ca4aeca417b1f9c43c0311dca9 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Sat, 12 Apr 2003 20:44:06 +0000 Subject: Fix build on -CURRENT. Reported by: Pav Lucistnik Obtained from: Galeon CVS --- www/galeon/files/patch-src_mozilla_ContentHandler.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 www/galeon/files/patch-src_mozilla_ContentHandler.cpp diff --git a/www/galeon/files/patch-src_mozilla_ContentHandler.cpp b/www/galeon/files/patch-src_mozilla_ContentHandler.cpp new file mode 100644 index 000000000000..cc1bb7290f85 --- /dev/null +++ b/www/galeon/files/patch-src_mozilla_ContentHandler.cpp @@ -0,0 +1,14 @@ +--- src/mozilla/ContentHandler.cpp.orig Sat Apr 12 16:37:06 2003 ++++ src/mozilla/ContentHandler.cpp Sat Apr 12 16:38:54 2003 +@@ -364,9 +364,9 @@ + nsCOMPtr aFilePicker = + do_CreateInstance (G_FILEPICKER_CONTRACTID); + +- NS_NAMED_LITERAL_STRING (title, _("Select the destination filename")); ++ NS_NAMED_LITERAL_CSTRING (title, _("Select the destination filename")); + +- aFilePicker->Init (aWindowInternal, title.get(), ++ aFilePicker->Init (aWindowInternal, PromiseFlatString(NS_ConvertUTF8toUCS2(title)).get(), + nsIFilePicker::modeSave); + aFilePicker->SetDefaultString (aDefaultFile); + aFilePicker->SetDisplayDirectory (saveDir); -- cgit v1.2.3