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
a080af03
Commit
a080af03
authored
Nov 29, 2007
by
Sven Paschukat
Committed by
Alexandre Julliard
Nov 30, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ctapi32: Added null terminator to library name.
parent
c735a147
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ctapi32.c
dlls/ctapi32/ctapi32.c
+1
-1
No files found.
dlls/ctapi32/ctapi32.c
View file @
a080af03
...
@@ -66,7 +66,7 @@ static int load_functions(void) {
...
@@ -66,7 +66,7 @@ static int load_functions(void) {
buffer_w
[
size
/
sizeof
(
WCHAR
)]
=
'\0'
;
buffer_w
[
size
/
sizeof
(
WCHAR
)]
=
'\0'
;
len
=
WideCharToMultiByte
(
CP_UNIXCP
,
0
,
buffer_w
,
-
1
,
buffer
,
sizeof
(
buffer
),
NULL
,
NULL
);
len
=
WideCharToMultiByte
(
CP_UNIXCP
,
0
,
buffer_w
,
-
1
,
buffer
,
sizeof
(
buffer
),
NULL
,
NULL
);
if
(
len
)
if
(
len
)
memcpy
(
soname
,
buffer
,
len
-
1
);
memcpy
(
soname
,
buffer
,
len
);
}
}
RegCloseKey
(
key_handle
);
RegCloseKey
(
key_handle
);
}
}
...
...
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