Workaround for bug in Nullsoft installer. This closes ReactOS bug #194.

svn path=/trunk/; revision=7980
This commit is contained in:
Gé van Geldorp 2004-02-01 21:27:44 +00:00
parent 09fd2196ac
commit 3651baea0a

View file

@ -126,6 +126,7 @@ int _RTFGetChar(RTF_Info *info)
{
char buff[10];
long pcb;
memset(buff, '\0', sizeof(buff)); /* Workaround for bug in Nullsoft installer */
info->editstream.pfnCallback(info->editstream.dwCookie, buff, 1, &pcb);
if(pcb == 0)
return EOF;