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

git-svn-id: svn://10.0.0.236/trunk@84052 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dbaron%fas.harvard.edu
2000-12-24 01:26:18 +00:00
parent 7569381202
commit 09a89426ab

View File

@@ -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);