From a002d52f8d2c86f9071272dc9d50f3801f335682 Mon Sep 17 00:00:00 2001 From: "shanjian%netscape.com" Date: Thu, 17 May 2001 18:28:53 +0000 Subject: [PATCH] #78229 meta charset does not work when autodection find first r=ftang, sr=attinasi --- docshell/base/nsWebShell.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docshell/base/nsWebShell.cpp b/docshell/base/nsWebShell.cpp index c2b91b4a1f6c..580841a3d426 100644 --- a/docshell/base/nsWebShell.cpp +++ b/docshell/base/nsWebShell.cpp @@ -628,11 +628,8 @@ nsWebShell::ReloadDocument(const char* aCharset, { muDV->SetHintCharacterSet(NS_ConvertASCIItoUCS2(aCharset).GetUnicode()); muDV->SetHintCharacterSetSource((PRInt32)aSource); - if(eCharsetReloadRequested != mCharsetReloadState) - { - mCharsetReloadState = eCharsetReloadRequested; - return Reload(LOAD_FLAGS_NONE); - } + mCharsetReloadState = eCharsetReloadRequested; + return Reload(LOAD_FLAGS_NONE); } } }