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
dbbe2379
Commit
dbbe2379
authored
Sep 24, 2013
by
Piotr Caban
Committed by
Alexandre Julliard
Sep 24, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp60: Fix char_traits<wchar_t>::assign implementation.
parent
435cf5ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
string.c
dlls/msvcp60/string.c
+8
-2
No files found.
dlls/msvcp60/string.c
View file @
dbbe2379
...
@@ -1809,9 +1809,15 @@ static MSVCP_size_t char_traits_wchar_length(const wchar_t *str)
...
@@ -1809,9 +1809,15 @@ static MSVCP_size_t char_traits_wchar_length(const wchar_t *str)
return
wcslen
((
WCHAR
*
)
str
);
return
wcslen
((
WCHAR
*
)
str
);
}
}
static
wchar_t
*
char_traits_wchar_assignn
(
wchar_t
*
str
,
MSVCP_size_t
num
,
wchar_t
c
)
static
wchar_t
*
char_traits_wchar_assignn
(
wchar_t
*
str
,
MSVCP_size_t
num
,
wchar_t
c
)
{
{
return
memset
(
str
,
c
,
num
);
MSVCP_size_t
i
;
for
(
i
=
0
;
i
<
num
;
i
++
)
str
[
i
]
=
c
;
return
str
;
}
}
static
int
char_traits_wchar_compare
(
const
wchar_t
*
s1
,
static
int
char_traits_wchar_compare
(
const
wchar_t
*
s1
,
...
...
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