Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
4612b15f
Commit
4612b15f
authored
Dec 19, 2007
by
Alex Villacís Lasso
Committed by
Alexandre Julliard
Dec 19, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Fix regression in DlgDirList caused by modified LB_DIR return behavior, with tests.
parent
6382c8af
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
11 deletions
+7
-11
dialog.c
dlls/user32/dialog.c
+7
-11
listbox.c
dlls/user32/tests/listbox.c
+0
-0
No files found.
dlls/user32/dialog.c
View file @
4612b15f
...
...
@@ -1775,21 +1775,17 @@ static INT DIALOG_DlgDirListW( HWND hDlg, LPWSTR spec, INT idLBox,
{
if
(
!
(
attrib
&
DDL_EXCLUSIVE
))
{
if
(
SENDMSG
(
combo
?
CB_DIR
:
LB_DIR
,
attrib
&
~
(
DDL_DIRECTORY
|
DDL_DRIVES
),
(
LPARAM
)
spec
)
==
LB_ERR
)
return
FALSE
;
SENDMSG
(
combo
?
CB_DIR
:
LB_DIR
,
attrib
&
~
(
DDL_DIRECTORY
|
DDL_DRIVES
),
(
LPARAM
)
spec
);
}
if
(
SENDMSG
(
combo
?
CB_DIR
:
LB_DIR
,
(
attrib
&
(
DDL_DIRECTORY
|
DDL_DRIVES
))
|
DDL_EXCLUSIVE
,
(
LPARAM
)
any
)
==
LB_ERR
)
return
FALSE
;
SENDMSG
(
combo
?
CB_DIR
:
LB_DIR
,
(
attrib
&
(
DDL_DIRECTORY
|
DDL_DRIVES
))
|
DDL_EXCLUSIVE
,
(
LPARAM
)
any
);
}
else
{
if
(
SENDMSG
(
combo
?
CB_DIR
:
LB_DIR
,
attrib
,
(
LPARAM
)
spec
)
==
LB_ERR
)
return
FALSE
;
SENDMSG
(
combo
?
CB_DIR
:
LB_DIR
,
attrib
,
(
LPARAM
)
spec
);
}
}
...
...
dlls/user32/tests/listbox.c
View file @
4612b15f
This diff is collapsed.
Click to expand it.
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