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
a8f8bef0
Commit
a8f8bef0
authored
Apr 18, 1999
by
Kevin Holbrook
Committed by
Alexandre Julliard
Apr 18, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ambiguous else warning.
parent
4ab79f96
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
module.c
loader/module.c
+4
-0
process.c
scheduler/process.c
+2
-0
No files found.
loader/module.c
View file @
a8f8bef0
...
...
@@ -116,16 +116,20 @@ static void MODULE_DoInitializeDLLs( WINE_MODREF *wm,
skip
=
TRUE
;
if
(
type
==
DLL_PROCESS_ATTACH
)
{
if
(
wm
->
flags
&
WINE_MODREF_PROCESS_ATTACHED
)
skip
=
TRUE
;
else
wm
->
flags
|=
WINE_MODREF_PROCESS_ATTACHED
;
}
if
(
type
==
DLL_PROCESS_DETACH
)
{
if
(
wm
->
flags
&
WINE_MODREF_PROCESS_DETACHED
)
skip
=
TRUE
;
else
wm
->
flags
|=
WINE_MODREF_PROCESS_DETACHED
;
}
if
(
!
skip
)
{
...
...
scheduler/process.c
View file @
a8f8bef0
...
...
@@ -202,10 +202,12 @@ void PROCESS_CallUserSignalProc( UINT uCode, DWORD dwThreadOrProcessId, HMODULE
/* Get thread or process ID */
if
(
dwThreadOrProcessId
==
0
)
{
if
(
uCode
==
USIG_THREAD_INIT
||
uCode
==
USIG_THREAD_EXIT
)
dwThreadOrProcessId
=
GetCurrentThreadId
();
else
dwThreadOrProcessId
=
GetCurrentProcessId
();
}
/* Convert module handle to 16-bit */
...
...
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