mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 17:35:07 +00:00
Workaround for bug in Nullsoft installer. This closes ReactOS bug #194.
svn path=/trunk/; revision=7980
This commit is contained in:
parent
09fd2196ac
commit
3651baea0a
|
@ -126,6 +126,7 @@ int _RTFGetChar(RTF_Info *info)
|
||||||
{
|
{
|
||||||
char buff[10];
|
char buff[10];
|
||||||
long pcb;
|
long pcb;
|
||||||
|
memset(buff, '\0', sizeof(buff)); /* Workaround for bug in Nullsoft installer */
|
||||||
info->editstream.pfnCallback(info->editstream.dwCookie, buff, 1, &pcb);
|
info->editstream.pfnCallback(info->editstream.dwCookie, buff, 1, &pcb);
|
||||||
if(pcb == 0)
|
if(pcb == 0)
|
||||||
return EOF;
|
return EOF;
|
||||||
|
|
Loading…
Reference in a new issue