aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyWrapper.cpp
diff options
context:
space:
mode:
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());