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
5a35c490
Commit
5a35c490
authored
Dec 21, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Always return the actual pointer instead of a winproc handle in WINPROC_GetProc16.
parent
13a9c037
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
msg16.c
dlls/user32/msg16.c
+2
-1
No files found.
dlls/user32/msg16.c
View file @
5a35c490
...
@@ -163,7 +163,8 @@ static WNDPROC16 alloc_win16_thunk( WNDPROC handle )
...
@@ -163,7 +163,8 @@ static WNDPROC16 alloc_win16_thunk( WNDPROC handle )
WINPROC_THUNK
*
thunk
;
WINPROC_THUNK
*
thunk
;
UINT
index
=
LOWORD
(
handle
);
UINT
index
=
LOWORD
(
handle
);
if
(
index
>=
MAX_WINPROCS32
)
return
(
WNDPROC16
)
handle
;
/* already a 16-bit proc */
if
(
index
>=
MAX_WINPROCS32
)
/* already a 16-bit proc */
return
winproc16_array
[
index
-
MAX_WINPROCS32
];
if
(
!
thunk_array
)
/* allocate the array and its selector */
if
(
!
thunk_array
)
/* allocate the array and its selector */
{
{
...
...
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