fix the nmake bustage again

This commit is contained in:
alecf%netscape.com 2002-03-05 00:39:25 +00:00
parent db6c53369f
commit 962b2ea4f5
2 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ REQUIRES = \
$(NULL)
CPPSRCS = \
nsTestUConv.cpp \
TestUConv.cpp \
nsconv.cpp \
plattest.cpp \
$(NULL)

View File

@ -257,7 +257,7 @@ nsresult nsTestUConv::TestCharsetManager()
mLog.PrintError("get()", res);
return res;
}
if (!csName.Equals(NS_LossyConvertUCS2toASCII(name).get())) {
if (!csName.Equals(nsDependentString(name))) {
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(NS_LossyConvertUCS2toASCII(name).get())) {
if (!csAlias2.Equals(nsDependentString(name))) {
mLog.PrintError("Equals()", "unexpected charset name");
return NS_ERROR_UNEXPECTED;
}