Move TWEAK_Init from USER to GDIInit.
This commit is contained in:
parent
7d5fd8dc3a
commit
88cb335142
|
@ -161,9 +161,12 @@ BOOL32 WINAPI MAIN_GdiInit(HINSTANCE32 hinstDLL, DWORD fdwReason, LPVOID lpvRese
|
||||||
LocalInit( GDI_HeapSel, 0, GDI_HEAP_SIZE-1 );
|
LocalInit( GDI_HeapSel, 0, GDI_HEAP_SIZE-1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!TWEAK_Init()) return FALSE;
|
||||||
|
|
||||||
/* GDI initialisation */
|
/* GDI initialisation */
|
||||||
if(!GDI_Init()) return FALSE;
|
if(!GDI_Init()) return FALSE;
|
||||||
|
|
||||||
|
|
||||||
/* PSDRV initialization */
|
/* PSDRV initialization */
|
||||||
if(!PSDRV_Init()) return FALSE;
|
if(!PSDRV_Init()) return FALSE;
|
||||||
|
|
||||||
|
@ -193,9 +196,6 @@ BOOL32 WINAPI MAIN_UserInit(HINSTANCE32 hinstDLL, DWORD fdwReason, LPVOID lpvRes
|
||||||
LocalInit( USER_HeapSel, 0, 0xffff );
|
LocalInit( USER_HeapSel, 0, 0xffff );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Initialize Wine tweaks */
|
|
||||||
if (!TWEAK_Init()) return FALSE;
|
|
||||||
|
|
||||||
/* Global atom table initialisation */
|
/* Global atom table initialisation */
|
||||||
if (!ATOM_Init( USER_HeapSel )) return FALSE;
|
if (!ATOM_Init( USER_HeapSel )) return FALSE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue