gdi: Move WineEngInit call before stock fonts creation.
Move WineEngInit call before stock fonts creation, otherwise we end up caching wrong fonts before loading built-in bitmap fonts.
This commit is contained in:
parent
fc13420770
commit
fd2ed6fffe
|
@ -584,6 +584,8 @@ BOOL GDI_Init(void)
|
|||
const struct DefaultFontInfo* deffonts;
|
||||
int i;
|
||||
|
||||
WineEngInit();
|
||||
|
||||
/* create stock objects */
|
||||
stock_objects[WHITE_BRUSH] = CreateBrushIndirect( &WhiteBrush );
|
||||
stock_objects[LTGRAY_BRUSH] = CreateBrushIndirect( &LtGrayBrush );
|
||||
|
@ -631,8 +633,6 @@ BOOL GDI_Init(void)
|
|||
__wine_make_gdi_object_system( stock_objects[i], TRUE );
|
||||
}
|
||||
|
||||
WineEngInit();
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue