diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-06-20 01:46:53 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-06-20 01:46:53 +0800 |
commit | b3dec5832fbbefc25e0efac92476a67130620ce5 (patch) | |
tree | 7e4dcd89a054eda3257e24750ad89abc665956de /embed | |
parent | 9dfe2cae89f22c7f6bd38e9626221df09085453d (diff) | |
download | gsoc2013-epiphany-b3dec5832fbbefc25e0efac92476a67130620ce5.tar gsoc2013-epiphany-b3dec5832fbbefc25e0efac92476a67130620ce5.tar.gz gsoc2013-epiphany-b3dec5832fbbefc25e0efac92476a67130620ce5.tar.bz2 gsoc2013-epiphany-b3dec5832fbbefc25e0efac92476a67130620ce5.tar.lz gsoc2013-epiphany-b3dec5832fbbefc25e0efac92476a67130620ce5.tar.xz gsoc2013-epiphany-b3dec5832fbbefc25e0efac92476a67130620ce5.tar.zst gsoc2013-epiphany-b3dec5832fbbefc25e0efac92476a67130620ce5.zip |
Mozilla api change, pfffff
2003-06-19 Marco Pesenti Gritti <marco@it.gnome.org>
* embed/mozilla/EphyWrapper.cpp:
Mozilla api change, pfffff
Diffstat (limited to 'embed')
-rw-r--r-- | embed/mozilla/EphyWrapper.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/mozilla/EphyWrapper.cpp b/embed/mozilla/EphyWrapper.cpp index b08447145..367579902 100644 --- a/embed/mozilla/EphyWrapper.cpp +++ b/embed/mozilla/EphyWrapper.cpp @@ -730,7 +730,11 @@ nsresult EphyWrapper::ForceEncoding (const char *encoding) &result); if (NS_FAILED(result) || !mdv) return NS_ERROR_FAILURE; +#if MOZILLA_SNAPSHOT > 8 + result = mdv->SetForceCharacterSet (nsDependentCString(encoding)); +#else result = mdv->SetForceCharacterSet (NS_ConvertUTF8toUCS2(encoding).get()); +#endif return result; } |