diff options
author | marcus <marcus@FreeBSD.org> | 2003-04-12 20:44:06 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-04-12 20:44:06 +0000 |
commit | e671c6c92acda7e70a4195402742fbec0adc5f8a (patch) | |
tree | 4e5635f86945abbfb3499e62917ee4bf64b87edf /www | |
parent | 856e8b4abc81941a965cd7e8cf4e66fbdc5a79d2 (diff) | |
download | FreeBSD-ports-e671c6c92acda7e70a4195402742fbec0adc5f8a.zip FreeBSD-ports-e671c6c92acda7e70a4195402742fbec0adc5f8a.tar.gz |
Fix build on -CURRENT.
Reported by: Pav Lucistnik <pav@oook.cz>
Obtained from: Galeon CVS
Diffstat (limited to 'www')
-rw-r--r-- | www/galeon/files/patch-src_mozilla_ContentHandler.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
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 0000000..cc1bb729 --- /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<nsIFilePicker> 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); |