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
afee133b
Commit
afee133b
authored
Jan 14, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Fix incorrect use of the system wctomb function.
parent
8d4f636d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
file.c
dlls/msvcrt/file.c
+1
-1
msvcrt.h
dlls/msvcrt/msvcrt.h
+1
-0
No files found.
dlls/msvcrt/file.c
View file @
afee133b
...
...
@@ -3390,7 +3390,7 @@ MSVCRT_wint_t CDECL MSVCRT_fputwc(MSVCRT_wint_t wc, MSVCRT_FILE* file)
char
buf
[
MSVCRT_MB_LEN_MAX
];
int
char_len
;
char_len
=
wctomb
(
buf
,
mwc
);
char_len
=
MSVCRT_
wctomb
(
buf
,
mwc
);
if
(
char_len
!=-
1
&&
MSVCRT_fwrite
(
buf
,
char_len
,
1
,
file
)
==
1
)
ret
=
wc
;
else
...
...
dlls/msvcrt/msvcrt.h
View file @
afee133b
...
...
@@ -945,6 +945,7 @@ int* __cdecl __p___mb_cur_max(void);
unsigned
int
*
__cdecl
__p__fmode
(
void
);
MSVCRT_wchar_t
*
__cdecl
MSVCRT__wcsdup
(
const
MSVCRT_wchar_t
*
);
MSVCRT_wchar_t
***
__cdecl
MSVCRT___p__wenviron
(
void
);
INT
__cdecl
MSVCRT_wctomb
(
char
*
,
MSVCRT_wchar_t
);
char
*
__cdecl
MSVCRT__strdate
(
char
*
date
);
char
*
__cdecl
MSVCRT__strtime
(
char
*
date
);
int
__cdecl
_setmbcp
(
int
);
...
...
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