mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 10:31:43 +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:
parent
d33d5d5251
commit
aabda4b500
1 changed files with 1 additions and 1 deletions
|
@ -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) )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue