Fix for bug #15706; r=nhotta

git-svn-id: svn://10.0.0.236/trunk@52245 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cata%netscape.com
1999-10-29 20:29:40 +00:00
parent bca34cf5da
commit b855e5dd72

View File

@@ -173,7 +173,10 @@ NS_IMETHODIMP nsUnicodeToISO2022JP::ConvertNoBuffNoErr(
if (res != NS_ERROR_UENC_NOMAPPING) break;
}
if (i>=4) res = NS_ERROR_UENC_NOMAPPING;
if (i>=4) {
res = NS_ERROR_UENC_NOMAPPING;
src++;
}
if (res != NS_OK) break;
bcw = destEnd - dest;