- This helps gimp 2.4.6 start-up. But there is another bug in msvcrt.dll that throws an exception. I must apologize for not doing this sooner.

svn path=/trunk/; revision=40824
This commit is contained in:
James Tabor 2009-05-07 05:49:35 +00:00
parent a953f285eb
commit e00d640f15
2 changed files with 3 additions and 2 deletions

View file

@ -283,7 +283,7 @@ Win32kThreadCallback(struct _ETHREAD *Thread,
if (Win32Thread->ThreadInfo)
{
Win32Thread->ThreadInfo->ClientThreadInfo.dwcPumpHook = 0;
Win32Thread->pClientInfo->pClientThreadInfo = &Win32Thread->ThreadInfo->ClientThreadInfo;
// Win32Thread->pClientInfo->pClientThreadInfo = &Win32Thread->ThreadInfo->ClientThreadInfo;
}
}
else

View file

@ -547,7 +547,8 @@ GetW32ThreadInfo(VOID)
sizeof(ULONG));
// FIXME PLEASE! it's a ref pointer and not user data! Use ClientThreadInfo!
Teb->Win32ThreadInfo = UserHeapAddressToUser(W32Thread->ThreadInfo);
ci->pClientThreadInfo = &ti->ClientThreadInfo; // FIXME!
// ci->pClientThreadInfo = &ti->ClientThreadInfo; // FIXME!
ci->pClientThreadInfo = NULL;
ci->ppi = ti->ppi;
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)