Fix ccdv-win32.c so that it works under Windows 95/98/ME.

SVN r282 (trunk)
This commit is contained in:
Randy Heit 2006-08-10 01:17:58 +00:00
parent f2333b6f26
commit 2b0fa809c6

View file

@ -202,6 +202,7 @@ static int REGPARM(2) Slurp(HANDLE fd, HANDLE hStdOut)
DWORD waitstate;
DWORD exitcode;
DWORD out;
DWORD threadid;
const char *trail = "/-\\|", *trailcp;
CONSOLE_SCREEN_BUFFER_INFO info;
CONSOLE_CURSOR_INFO cursorInfo;
@ -215,7 +216,7 @@ static int REGPARM(2) Slurp(HANDLE fd, HANDLE hStdOut)
}
handles[0] = gCCP.hProcess;
handles[1] = CreateThread(NULL, 0, SlurpThread, (LPVOID)fd, 0, NULL);
handles[1] = CreateThread(NULL, 0, SlurpThread, (LPVOID)fd, 0, &threadid);
if(handles[1] == 0)
{