#78229 meta charset does not work when autodection find first

r=ftang, sr=attinasi
This commit is contained in:
shanjian@netscape.com
2001-05-17 18:28:53 +00:00
parent 4893f249a5
commit 08113593ef

View File

@@ -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);
}
}
}