Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
fb6b0f93
Commit
fb6b0f93
authored
Jun 25, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wordpad: Don't offer vertical fonts in the font dialog.
parent
2f7a7caa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
wordpad.c
programs/wordpad/wordpad.c
+3
-1
No files found.
programs/wordpad/wordpad.c
View file @
fb6b0f93
...
...
@@ -576,7 +576,7 @@ static void dialog_choose_font(void)
cf
.
lStructSize
=
sizeof
(
cf
);
cf
.
hwndOwner
=
hMainWnd
;
cf
.
lpLogFont
=
&
lf
;
cf
.
Flags
=
CF_SCREENFONTS
|
CF_NOSCRIPTSEL
|
CF_INITTOLOGFONTSTRUCT
|
CF_EFFECTS
;
cf
.
Flags
=
CF_SCREENFONTS
|
CF_NOSCRIPTSEL
|
CF_INITTOLOGFONTSTRUCT
|
CF_EFFECTS
|
CF_NOVERTFONTS
;
ZeroMemory
(
&
fmt
,
sizeof
(
fmt
));
fmt
.
cbSize
=
sizeof
(
fmt
);
...
...
@@ -619,6 +619,8 @@ static int CALLBACK enum_font_proc(const LOGFONTW *lpelfe, const TEXTMETRICW *lp
{
HWND
hListWnd
=
(
HWND
)
lParam
;
if
(
lpelfe
->
lfFaceName
[
0
]
==
'@'
)
return
1
;
/* ignore vertical fonts */
if
(
SendMessageW
(
hListWnd
,
CB_FINDSTRINGEXACT
,
-
1
,
(
LPARAM
)
lpelfe
->
lfFaceName
)
==
CB_ERR
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment