From bbda044fa543cce525dd4b585941ea2a6f1f249f Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Wed, 28 May 2003 15:43:24 +0000 Subject: continuing checkin of previous patch (cvs aborted "broken pipe") 2003-05-28 Christian Persch continuing checkin of previous patch (cvs aborted "broken pipe") --- embed/mozilla/EphyWrapper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'embed/mozilla/EphyWrapper.cpp') diff --git a/embed/mozilla/EphyWrapper.cpp b/embed/mozilla/EphyWrapper.cpp index 7268c4a69..b08447145 100644 --- a/embed/mozilla/EphyWrapper.cpp +++ b/embed/mozilla/EphyWrapper.cpp @@ -714,7 +714,7 @@ nsresult EphyWrapper::CopyHistoryTo (EphyWrapper *dest) return NS_OK; } -nsresult EphyWrapper::ForceCharacterSet (const char *charset) +nsresult EphyWrapper::ForceEncoding (const char *encoding) { nsresult result; @@ -730,7 +730,7 @@ nsresult EphyWrapper::ForceCharacterSet (const char *charset) &result); if (NS_FAILED(result) || !mdv) return NS_ERROR_FAILURE; - result = mdv->SetForceCharacterSet (NS_ConvertUTF8toUCS2(charset).get()); + result = mdv->SetForceCharacterSet (NS_ConvertUTF8toUCS2(encoding).get()); return result; } -- cgit v1.2.3