From 88cb33514286258dacbf134a94352a060cca4d81 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 8 Dec 1998 09:49:45 +0000 Subject: [PATCH] Move TWEAK_Init from USER to GDIInit. --- loader/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/loader/main.c b/loader/main.c index 8c0094f7d08..fddf994c45c 100644 --- a/loader/main.c +++ b/loader/main.c @@ -161,9 +161,12 @@ BOOL32 WINAPI MAIN_GdiInit(HINSTANCE32 hinstDLL, DWORD fdwReason, LPVOID lpvRese LocalInit( GDI_HeapSel, 0, GDI_HEAP_SIZE-1 ); } + if (!TWEAK_Init()) return FALSE; + /* GDI initialisation */ if(!GDI_Init()) return FALSE; + /* PSDRV initialization */ if(!PSDRV_Init()) return FALSE; @@ -193,9 +196,6 @@ BOOL32 WINAPI MAIN_UserInit(HINSTANCE32 hinstDLL, DWORD fdwReason, LPVOID lpvRes LocalInit( USER_HeapSel, 0, 0xffff ); } - /* Initialize Wine tweaks */ - if (!TWEAK_Init()) return FALSE; - /* Global atom table initialisation */ if (!ATOM_Init( USER_HeapSel )) return FALSE;