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
5fce6fb7
Commit
5fce6fb7
authored
Jul 30, 1999
by
Huw D M Davies
Committed by
Alexandre Julliard
Jul 30, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Strip .drv extensions to MODULE_GetLoadOrder.
parent
66a44e3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
loadorder.c
loader/loadorder.c
+5
-3
No files found.
loader/loadorder.c
View file @
5fce6fb7
...
...
@@ -520,8 +520,8 @@ BOOL MODULE_InitLoadOrder(void)
*
* Locate the loadorder of a module.
* Any path is stripped from the path-argument and so are the extension
* '.dll'
and '.exe'. A lookup in the table can yield an override for the
* specific dll. Otherwise the default load order is returned.
* '.dll'
, '.exe' and '.drv'. A lookup in the table can yield an override for
*
the
specific dll. Otherwise the default load order is returned.
*/
module_loadorder_t
*
MODULE_GetLoadOrder
(
const
char
*
path
)
{
...
...
@@ -556,7 +556,9 @@ module_loadorder_t *MODULE_GetLoadOrder(const char *path)
}
strcpy
(
fname
,
name
);
if
(
len
>=
4
&&
(
!
lstrcmpiA
(
fname
+
len
-
4
,
".dll"
)
||
!
lstrcmpiA
(
fname
+
len
-
4
,
".exe"
)))
if
(
len
>=
4
&&
(
!
lstrcmpiA
(
fname
+
len
-
4
,
".dll"
)
||
!
lstrcmpiA
(
fname
+
len
-
4
,
".exe"
)
||
!
lstrcmpiA
(
fname
+
len
-
4
,
".drv"
)))
fname
[
len
-
4
]
=
'\0'
;
lo
.
modulename
=
fname
;
...
...
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