From 6529aa7643e2234dd3446664734e8a67e7eeb0e4 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Tue, 24 Nov 1998 20:46:36 +0000 Subject: [PATCH] Bugfix: Call InitThreadInput in GetFastQueue with correct parameter for 32-bit queues. --- loader/task.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/task.c b/loader/task.c index 4ad43091df..ac5e337550 100644 --- a/loader/task.c +++ b/loader/task.c @@ -1280,7 +1280,7 @@ HANDLE32 WINAPI GetFastQueue( void ) { HMODULE16 hModule = GetModuleHandle16( "USER" ); FARPROC16 proc = WIN32_GetProcAddress16( hModule, "InitThreadInput" ); - Callbacks->CallBootAppProc( proc, 0, 4 ); /* FIXME! */ + Callbacks->CallBootAppProc( proc, 0, THREAD_IsWin16(thdb)? 4 : 5 ); /* FIXME! */ } if (!(thdb->teb.queue))