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
d4774ba1
Commit
d4774ba1
authored
Feb 13, 2006
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 13, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvfw32: Fix typos in the control state handling.
Fix typos in the control state handling, add state checks for IDOK and IDCANCEL control notification handlers.
parent
0b34fb36
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
msvideo_main.c
dlls/msvideo/msvideo_main.c
+8
-2
No files found.
dlls/msvideo/msvideo_main.c
View file @
d4774ba1
...
...
@@ -811,7 +811,7 @@ static INT_PTR CALLBACK icm_choose_compressor_dlgproc(HWND hdlg, UINT msg, WPARA
struct
codec_info
*
ic
;
BOOL
enable
=
FALSE
;
if
(
HIWORD
(
wparam
!=
CBN_SELCHANGE
)
)
if
(
HIWORD
(
wparam
)
!=
CBN_SELCHANGE
)
break
;
cur_sel
=
SendMessageW
((
HWND
)
lparam
,
CB_GETCURSEL
,
0
,
0
);
...
...
@@ -832,7 +832,7 @@ static INT_PTR CALLBACK icm_choose_compressor_dlgproc(HWND hdlg, UINT msg, WPARA
INT
cur_sel
;
struct
codec_info
*
ic
;
if
(
HIWORD
(
wparam
!=
BN_CLICKED
)
)
if
(
HIWORD
(
wparam
)
!=
BN_CLICKED
)
break
;
cur_sel
=
SendMessageW
(
list
,
CB_GETCURSEL
,
0
,
0
);
...
...
@@ -850,6 +850,9 @@ static INT_PTR CALLBACK icm_choose_compressor_dlgproc(HWND hdlg, UINT msg, WPARA
INT
cur_sel
;
struct
codec_info
*
ic
;
if
(
HIWORD
(
wparam
)
!=
BN_CLICKED
)
break
;
cur_sel
=
SendMessageW
(
list
,
CB_GETCURSEL
,
0
,
0
);
ic
=
(
struct
codec_info
*
)
SendMessageW
(
list
,
CB_GETITEMDATA
,
cur_sel
,
0
);
if
(
ic
)
...
...
@@ -871,6 +874,9 @@ static INT_PTR CALLBACK icm_choose_compressor_dlgproc(HWND hdlg, UINT msg, WPARA
HWND
list
=
GetDlgItem
(
hdlg
,
IDC_COMP_LIST
);
INT
idx
=
0
;
if
(
HIWORD
(
wparam
)
!=
BN_CLICKED
)
break
;
while
(
1
)
{
struct
codec_info
*
ic
;
...
...
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