mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
Reduced huge (1GB) heap creation that caused Starcraft to fail.
This commit is contained in:
parent
1e1cf48107
commit
cbebcd280c
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ ComCtl32LibMain (HINSTANCE32 hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
|||
case DLL_PROCESS_ATTACH:
|
||||
if (COMCTL32_dwProcessesAttached == 0) {
|
||||
/* create private heap */
|
||||
COMCTL32_hHeap = HeapCreate (0, 1, 0x40000000);
|
||||
COMCTL32_hHeap = HeapCreate (0, 0x10000, 0);
|
||||
TRACE (commctrl, "Heap created: 0x%x\n", COMCTL32_hHeap);
|
||||
|
||||
/* register all Win95 common control classes */
|
||||
|
|
Loading…
Reference in a new issue