Attempt to fix OS/2 bustage caused by autoconf test that changes the definition of |PRUnichar| from |PRUint16| to |wchar_t| on platforms where |sizeof(wchar_t)| is 2. UniChar was accidentally used in place of PRUnichar. b=54564

This commit is contained in:
dbaron%fas.harvard.edu 2000-12-24 01:26:18 +00:00
Родитель 3b4adbb681
Коммит 67d72cfee7
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -269,7 +269,7 @@ PRUnichar *nsWidgetModuleData::ConvertToUcs( const char *szText,
size_t ucsLen = ulSize;
size_t cSubs = 0;
UniChar *tmp = pBuffer; // function alters the out pointer
PRUnichar *tmp = pBuffer; // function alters the out pointer
int unirc = UniUconvToUcs( converter, (void **)&szText, &szLen,
&tmp, &ucsLen, &cSubs);