aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyWrapper.cpp
diff options
context:
space:
mode:
authorPatanjali Somayaji <patanja@src.gnome.org>2003-09-14 02:45:30 +0800
committerPatanjali Somayaji <patanja@src.gnome.org>2003-09-14 02:45:30 +0800
commitb17358da7d49924e4a0791dd8e62faaa14d52a69 (patch)
tree909c94cbd101c9346065528717a70d415cefaee3 /embed/mozilla/EphyWrapper.cpp
parent6a28480cf44eaf0203df179964ae9be2369a19e1 (diff)
downloadgsoc2013-epiphany-b17358da7d49924e4a0791dd8e62faaa14d52a69.tar
gsoc2013-epiphany-b17358da7d49924e4a0791dd8e62faaa14d52a69.tar.gz
gsoc2013-epiphany-b17358da7d49924e4a0791dd8e62faaa14d52a69.tar.bz2
gsoc2013-epiphany-b17358da7d49924e4a0791dd8e62faaa14d52a69.tar.lz
gsoc2013-epiphany-b17358da7d49924e4a0791dd8e62faaa14d52a69.tar.xz
gsoc2013-epiphany-b17358da7d49924e4a0791dd8e62faaa14d52a69.tar.zst
gsoc2013-epiphany-b17358da7d49924e4a0791dd8e62faaa14d52a69.zip
Added in support to allow Mozilla 1.4.1 to be used for Epiphany compile.
Diffstat (limited to 'embed/mozilla/EphyWrapper.cpp')
-rw-r--r--embed/mozilla/EphyWrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/mozilla/EphyWrapper.cpp b/embed/mozilla/EphyWrapper.cpp
index 72ec50323..8bd7051d4 100644
--- a/embed/mozilla/EphyWrapper.cpp
+++ b/embed/mozilla/EphyWrapper.cpp
@@ -685,7 +685,7 @@ nsresult EphyWrapper::ForceEncoding (const char *encoding)
&result);
if (NS_FAILED(result) || !mdv) return NS_ERROR_FAILURE;
-#if MOZILLA_SNAPSHOT > 8
+#if MOZILLA_SNAPSHOT > 9
result = mdv->SetForceCharacterSet (nsDependentCString(encoding));
#else
result = mdv->SetForceCharacterSet (NS_ConvertUTF8toUCS2(encoding).get());