Fix build on -CURRENT.
Reported by: Pav Lucistnik <pav@oook.cz> Obtained from: Galeon CVS
This commit is contained in:
parent
3d5cea7c24
commit
c1600d449b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78820
1 changed files with 14 additions and 0 deletions
14
www/galeon/files/patch-src_mozilla_ContentHandler.cpp
Normal file
14
www/galeon/files/patch-src_mozilla_ContentHandler.cpp
Normal file
|
@ -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);
|
Loading…
Reference in a new issue