Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
b2e31be9
Commit
b2e31be9
authored
Nov 11, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
C++ inclusion fix
parent
48eb86c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/charset.h
include/charset.h
+1
-1
No files found.
include/charset.h
View file @
b2e31be9
...
...
@@ -61,7 +61,7 @@ static inline char *FromWide (const wchar_t *wide)
if
(
len
==
0
)
return
NULL
;
char
*
out
=
malloc
(
len
);
char
*
out
=
(
char
*
)
malloc
(
len
);
WideCharToMultiByte
(
CP_UTF8
,
0
,
wide
,
-
1
,
out
,
len
,
NULL
,
NULL
);
return
out
;
...
...
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