This is not part of the build (it doesn't build).

nsIConverterInputStream::Init now requires four parameters instead of three.
To build this test, add uconv necko to requires.
This commit is contained in:
timeless%mozdev.org 2003-01-22 08:10:45 +00:00
Родитель d1da452d1f
Коммит f8238d67cf
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -87,7 +87,7 @@ int main(int argc, char** argv)
nsCOMPtr<nsIConverterInputStream> uin = nsCOMPtr<nsIConverterInputStream> uin =
do_CreateInstance("@mozilla.org/intl/converter-input-stream;1", &rv); do_CreateInstance("@mozilla.org/intl/converter-input-stream;1", &rv);
if (NS_SUCCEEDED(rv)) if (NS_SUCCEEDED(rv))
uin->Init(in, cset->get(), nsnull); uin->Init(in, cset->get(), nsnull, PR_TRUE);
if (NS_OK != rv) { if (NS_OK != rv) {
printf("can't create converter input stream: %d\n", rv); printf("can't create converter input stream: %d\n", rv);
return -1; return -1;