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
025daaf0
Commit
025daaf0
authored
Nov 17, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Fix FindWindow to not match an empty class name.
parent
df6e47e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
win.c
dlls/user32/win.c
+6
-2
No files found.
dlls/user32/win.c
View file @
025daaf0
...
...
@@ -223,6 +223,10 @@ static HWND *list_window_children( HDESK desktop, HWND hwnd, LPCWSTR class, DWOR
{
HWND
*
list
;
int
size
=
128
;
ATOM
atom
=
get_int_atom_value
(
class
);
/* empty class is not the same as NULL class */
if
(
!
atom
&&
class
&&
!
class
[
0
])
return
NULL
;
for
(;;)
{
...
...
@@ -235,8 +239,8 @@ static HWND *list_window_children( HDESK desktop, HWND hwnd, LPCWSTR class, DWOR
req
->
desktop
=
desktop
;
req
->
parent
=
hwnd
;
req
->
tid
=
tid
;
if
(
!
(
req
->
atom
=
get_int_atom_value
(
class
))
&&
class
)
wine_server_add_data
(
req
,
class
,
strlenW
(
class
)
*
sizeof
(
WCHAR
)
);
req
->
atom
=
atom
;
if
(
!
atom
&&
class
)
wine_server_add_data
(
req
,
class
,
strlenW
(
class
)
*
sizeof
(
WCHAR
)
);
wine_server_set_reply
(
req
,
list
,
(
size
-
1
)
*
sizeof
(
HWND
)
);
if
(
!
wine_server_call
(
req
))
count
=
reply
->
count
;
}
...
...
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