fix windows nmake-only bustage

argh
This commit is contained in:
alecf%netscape.com 2002-03-05 00:32:09 +00:00
parent 13265ef155
commit db6c53369f

View File

@ -257,7 +257,7 @@ nsresult nsTestUConv::TestCharsetManager()
mLog.PrintError("get()", res);
return res;
}
if (!csName.EqualsWithConversion(name)) {
if (!csName.Equals(NS_LossyConvertUCS2toASCII(name).get())) {
mLog.PrintError("Equals()", "unexpected charset name");
return NS_ERROR_UNEXPECTED;
}
@ -274,7 +274,7 @@ nsresult nsTestUConv::TestCharsetManager()
mLog.PrintError("get()", res);
return res;
}
if (!csAlias2.EqualsWithConversion(name)) {
if (!csAlias2.EqualsWithConversion(NS_LossyConvertUCS2toASCII(name).get())) {
mLog.PrintError("Equals()", "unexpected charset name");
return NS_ERROR_UNEXPECTED;
}