Commit cbebcd28 authored by Ove Kaaven's avatar Ove Kaaven Committed by Alexandre Julliard

Reduced huge (1GB) heap creation that caused Starcraft to fail.

parent 1e1cf481
...@@ -56,7 +56,7 @@ ComCtl32LibMain (HINSTANCE32 hinstDLL, DWORD fdwReason, LPVOID lpvReserved) ...@@ -56,7 +56,7 @@ ComCtl32LibMain (HINSTANCE32 hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
case DLL_PROCESS_ATTACH: case DLL_PROCESS_ATTACH:
if (COMCTL32_dwProcessesAttached == 0) { if (COMCTL32_dwProcessesAttached == 0) {
/* create private heap */ /* create private heap */
COMCTL32_hHeap = HeapCreate (0, 1, 0x40000000); COMCTL32_hHeap = HeapCreate (0, 0x10000, 0);
TRACE (commctrl, "Heap created: 0x%x\n", COMCTL32_hHeap); TRACE (commctrl, "Heap created: 0x%x\n", COMCTL32_hHeap);
/* register all Win95 common control classes */ /* register all Win95 common control classes */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment