Don't forget the last one in the converter chain

This commit is contained in:
andreas.otte%primus-online.de 1999-08-26 15:05:26 +00:00
Родитель 5fbfb26e7d
Коммит 7be99f3cfa
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -515,7 +515,7 @@ nsStreamConverterService::Convert(nsIInputStream *aFromStream,
nsIInputStream *convertedData = nsnull;
NS_ADDREF(dataToConvert);
for (PRInt32 i = edgeCount-1; i > 0; i--) {
for (PRInt32 i = edgeCount-1; i >= 0; i--) {
nsString2 *progIDStr = (nsString2*)converterChain->ElementAt(i);
char * lProgID = progIDStr->ToNewCString();
const char *x = lProgID;