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
077da06e
Commit
077da06e
authored
Nov 24, 1998
by
Ulrich Weigand
Committed by
Alexandre Julliard
Nov 24, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix: Bad jump generated in THUNK_AllocLSThunklet.
Bugfix: Forgot to convert segptr in AllocLSThunkletCallbackEx.
parent
3036c985
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
thunk.c
if1632/thunk.c
+2
-2
No files found.
if1632/thunk.c
View file @
077da06e
...
@@ -1172,7 +1172,7 @@ FARPROC32 THUNK_AllocLSThunklet( SEGPTR target, DWORD relay,
...
@@ -1172,7 +1172,7 @@ FARPROC32 THUNK_AllocLSThunklet( SEGPTR target, DWORD relay,
thunk
->
target
=
(
DWORD
)
target
;
thunk
->
target
=
(
DWORD
)
target
;
thunk
->
relay
=
(
DWORD
)
relay
;
thunk
->
relay
=
(
DWORD
)
relay
;
thunk
->
glue
=
(
DWORD
)
glue
-
(
DWORD
)
&
thunk
->
owner
;
thunk
->
glue
=
(
DWORD
)
glue
-
(
DWORD
)
&
thunk
->
type
;
thunk
->
type
=
THUNKLET_TYPE_LS
;
thunk
->
type
=
THUNKLET_TYPE_LS
;
thunk
->
owner
=
pTask
?
pTask
->
hInstance
:
0
;
thunk
->
owner
=
pTask
?
pTask
->
hInstance
:
0
;
...
@@ -1266,7 +1266,7 @@ SEGPTR WINAPI AllocSLThunkletSysthunk( FARPROC32 target,
...
@@ -1266,7 +1266,7 @@ SEGPTR WINAPI AllocSLThunkletSysthunk( FARPROC32 target,
FARPROC32
WINAPI
AllocLSThunkletCallbackEx
(
SEGPTR
target
,
FARPROC32
WINAPI
AllocLSThunkletCallbackEx
(
SEGPTR
target
,
DWORD
relay
,
HTASK16
task
)
DWORD
relay
,
HTASK16
task
)
{
{
THUNKLET
*
thunk
=
(
THUNKLET
*
)
target
;
THUNKLET
*
thunk
=
(
THUNKLET
*
)
PTR_SEG_TO_LIN
(
target
)
;
if
(
IsSLThunklet
(
thunk
)
&&
thunk
->
relay
==
relay
if
(
IsSLThunklet
(
thunk
)
&&
thunk
->
relay
==
relay
&&
thunk
->
glue
==
(
DWORD
)
ThunkletCallbackGlueSL
)
&&
thunk
->
glue
==
(
DWORD
)
ThunkletCallbackGlueSL
)
return
(
FARPROC32
)
thunk
->
target
;
return
(
FARPROC32
)
thunk
->
target
;
...
...
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