summaryrefslogtreecommitdiff
path: root/www/galeon2/files/patch-mozilla_mozilla-embed-persist.cpp
blob: cf3e67efd7573bf9457e97e018617d4a65f33e3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- mozilla/mozilla-embed-persist.cpp.orig	Thu Feb 13 16:18:30 2003
+++ mozilla/mozilla-embed-persist.cpp	Thu Feb 13 16:20:25 2003
@@ -16,6 +16,10 @@
  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "mozilla-embed-persist.h"
 #include "mozilla-embed.h"
 #include "ProgressListener.h"
@@ -235,7 +239,11 @@
                                  	   persist, 
 					   !(flags & EMBED_PERSIST_SHOW_PROGRESS));
 
+#if MOZILLA_SNAPSHOT > 3
+		rv = bpersist->SaveURI (linkURI, nsnull, nsnull, nsnull, nsnull, file);
+#else
 		rv = bpersist->SaveURI (linkURI, nsnull, file);
+#endif
 		if (NS_FAILED(rv)) return G_FAILED;
 	}