notepad: Don't offer vertical fonts in the font dialog.
This commit is contained in:
parent
2088c36c19
commit
276306e227
@ -1118,7 +1118,7 @@ VOID DIALOG_SelectFont(VOID)
|
|||||||
cf.lStructSize=sizeof(cf);
|
cf.lStructSize=sizeof(cf);
|
||||||
cf.hwndOwner=Globals.hMainWnd;
|
cf.hwndOwner=Globals.hMainWnd;
|
||||||
cf.lpLogFont=&lf;
|
cf.lpLogFont=&lf;
|
||||||
cf.Flags=CF_SCREENFONTS | CF_INITTOLOGFONTSTRUCT;
|
cf.Flags=CF_SCREENFONTS | CF_INITTOLOGFONTSTRUCT | CF_NOVERTFONTS;
|
||||||
|
|
||||||
if( ChooseFontW(&cf) )
|
if( ChooseFontW(&cf) )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user