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
c0dfdbcf
Commit
c0dfdbcf
authored
Jul 20, 2018
by
Fabian Maurer
Committed by
Alexandre Julliard
Jul 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrc: Don't crash when parsing COMBOBOX element without style.
Signed-off-by:
Fabian Maurer
<
dark.shadow4@web.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a9ac425a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
parser.y
tools/wrc/parser.y
+1
-1
No files found.
tools/wrc/parser.y
View file @
c0dfdbcf
...
@@ -1969,7 +1969,7 @@ static control_t *ins_ctrl(int type, int special_style, control_t *ctrl, control
...
@@ -1969,7 +1969,7 @@ static control_t *ins_ctrl(int type, int special_style, control_t *ctrl, control
defaultstyle
|=
LBS_NOTIFY
|
WS_BORDER
;
defaultstyle
|=
LBS_NOTIFY
|
WS_BORDER
;
break;
break;
case
CT_COMBOBOX
:
case
CT_COMBOBOX
:
if
(
!
(
ctrl-
>
style-
>
or_mask
&
(
CBS_SIMPLE
|
CBS_DROPDOWN
|
CBS_DROPDOWNLIST
)))
if
(
!
ctrl-
>
gotstyle
||
!
(
ctrl-
>
style-
>
or_mask
&
(
CBS_SIMPLE
|
CBS_DROPDOWN
|
CBS_DROPDOWNLIST
)))
defaultstyle
|=
CBS_SIMPLE
;
defaultstyle
|=
CBS_SIMPLE
;
break;
break;
case
CT_STATIC
:
case
CT_STATIC
:
...
...
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