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
68822146
Commit
68822146
authored
Feb 19, 1999
by
Uwe Bonnes
Committed by
Alexandre Julliard
Feb 19, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only append .dll if no extension yet.
parent
6a6f6e24
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
module.c
loader/ne/module.c
+3
-0
No files found.
loader/ne/module.c
View file @
68822146
...
...
@@ -697,6 +697,9 @@ static BOOL32 NE_LoadDLLs( NE_MODULE *pModule )
char
buffer
[
260
];
BYTE
*
pstr
=
(
BYTE
*
)
pModule
+
pModule
->
import_table
+
*
pModRef
;
memcpy
(
buffer
,
pstr
+
1
,
*
pstr
);
*
(
buffer
+
*
pstr
)
=
0
;
/* terminate it */
if
(
!
strchr
(
buffer
,
'.'
))
/* only append .dll if no extension yet.
handles a request for krnl386.exe*/
strcpy
(
buffer
+
*
pstr
,
".dll"
);
TRACE
(
module
,
"Loading '%s'
\n
"
,
buffer
);
if
(
!
(
*
pModRef
=
GetModuleHandle16
(
buffer
)))
...
...
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