mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +00:00
specify CF_INITTOLOGFONTSTRUCT flag to auto-select current font in font selection dialog.c
bug report by tsg1zzn fixes bug 1561 svn path=/trunk/; revision=22390
This commit is contained in:
@@ -670,7 +670,7 @@ VOID DIALOG_SelectFont(VOID)
|
||||
cf.lStructSize=sizeof(cf);
|
||||
cf.hwndOwner=Globals.hMainWnd;
|
||||
cf.lpLogFont=&lf;
|
||||
cf.Flags=CF_SCREENFONTS;
|
||||
cf.Flags=CF_SCREENFONTS | CF_INITTOLOGFONTSTRUCT;
|
||||
|
||||
if( ChooseFont(&cf) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user