Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
e00f0d81
Commit
e00f0d81
authored
Nov 16, 2021
by
Eric Pouech
Committed by
Alexandre Julliard
Nov 16, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Fix module name construction.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4fd97c52
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
module.c
dlls/dbghelp/module.c
+4
-4
No files found.
dlls/dbghelp/module.c
View file @
e00f0d81
...
...
@@ -103,13 +103,13 @@ static void module_fill_module(const WCHAR* in, WCHAR* out, size_t size)
const
WCHAR
*
ptr
,
*
endptr
;
size_t
len
,
l
;
ptr
=
get_filename
(
in
,
endptr
=
in
+
lstrlenW
(
in
));
endptr
=
in
+
lstrlenW
(
in
);
endptr
-=
match_ext
(
in
,
endptr
-
in
);
ptr
=
get_filename
(
in
,
endptr
);
len
=
min
(
endptr
-
ptr
,
size
-
1
);
memcpy
(
out
,
ptr
,
len
*
sizeof
(
WCHAR
));
out
[
len
]
=
'\0'
;
if
(
len
>
4
&&
(
l
=
match_ext
(
out
,
len
)))
out
[
len
-
l
]
=
'\0'
;
else
if
(
is_wine_loader
(
out
))
if
(
is_wine_loader
(
out
))
lstrcpynW
(
out
,
S_WineLoaderW
,
size
);
else
{
...
...
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