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
a48d9684
Commit
a48d9684
authored
Dec 22, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Dec 22, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32/fontdlg: Limit text length user can type in as font point size.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1aa53bc4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
fontdlg.c
dlls/comdlg32/fontdlg.c
+3
-0
No files found.
dlls/comdlg32/fontdlg.c
View file @
a48d9684
...
...
@@ -753,6 +753,9 @@ static LRESULT CFn_WMInitDialog(HWND hDlg, LPARAM lParam, LPCHOOSEFONTW lpcf)
SendMessageW
(
hDlg
,
WM_COMMAND
,
MAKEWPARAM
(
cmb5
,
CBN_SELCHANGE
),
(
LPARAM
)
GetDlgItem
(
hDlg
,
cmb5
));
}
/* limit text length user can type in as font size */
SendDlgItemMessageW
(
hDlg
,
cmb3
,
CB_LIMITTEXT
,
5
,
0
);
if
((
lpcf
->
Flags
&
CF_USESTYLE
)
&&
lpcf
->
lpszStyle
)
{
j
=
SendDlgItemMessageW
(
hDlg
,
cmb2
,
CB_FINDSTRING
,
-
1
,(
LPARAM
)
lpcf
->
lpszStyle
);
...
...
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