mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 06:53:38 +00:00
clock: Don't offer vertical fonts in the font dialog.
This commit is contained in:
parent
90ca8eb21e
commit
2088c36c19
|
@ -144,7 +144,7 @@ static VOID CLOCK_ChooseFont(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)) {
|
||||||
Globals.logfont = lf;
|
Globals.logfont = lf;
|
||||||
CLOCK_ResetFont();
|
CLOCK_ResetFont();
|
||||||
|
|
Loading…
Reference in a new issue