]>
Commit | Line | Data |
---|---|---|
1 | diff -urN nautilus-1.0.6.orig/components/mozilla/mozilla-components.cpp nautilus-1.0.6/components/mozilla/mozilla-components.cpp | |
2 | --- nautilus-1.0.6.orig/components/mozilla/mozilla-components.cpp Fri Feb 16 12:48:46 2001 | |
3 | +++ nautilus-1.0.6/components/mozilla/mozilla-components.cpp Sun Aug 11 16:27:46 2002 | |
4 | @@ -34,6 +34,7 @@ | |
5 | #include "nsIServiceManager.h" | |
6 | #include "nsComponentManagerUtils.h" | |
7 | #include "nsILocalFile.h" | |
8 | +#include "nsString2.h" | |
9 | ||
10 | #define LOCAL_FILE_ID NS_LOCAL_FILE_CONTRACTID | |
11 | ||
12 | @@ -62,7 +63,7 @@ | |
13 | return FALSE; | |
14 | } | |
15 | ||
16 | - rv = spec->InitWithPath (library_file_name); | |
17 | + rv = spec->InitWithPath (NS_ConvertASCIItoUCS2(library_file_name)); | |
18 | ||
19 | if (NS_FAILED (rv)) { | |
20 | #ifdef DEBUG_ramiro | |
21 | diff -urN nautilus-1.0.6.orig/components/mozilla/mozilla-events.cpp nautilus-1.0.6/components/mozilla/mozilla-events.cpp | |
22 | --- nautilus-1.0.6.orig/components/mozilla/mozilla-events.cpp Mon Oct 15 18:25:17 2001 | |
23 | +++ nautilus-1.0.6/components/mozilla/mozilla-events.cpp Sun Aug 11 17:12:59 2002 | |
24 | @@ -355,7 +355,7 @@ | |
25 | ||
26 | /* Why can't I use GetElementsByTagName? I couldn't get it to work for me */ | |
27 | static nsIDOMNode * | |
28 | -get_anchor_named (nsIDOMNode *top_node, const nsAReadableString& aName) | |
29 | +get_anchor_named (nsIDOMNode *top_node, const nsAString& aName) | |
30 | { | |
31 | nsresult rv; | |
32 | nsAutoString src_string; |