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
8003b0ab
Commit
8003b0ab
authored
Jun 22, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Jun 22, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Added num_put<char>::put(bool) implementation.
parent
feccc210
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
2 deletions
+26
-2
locale.c
dlls/msvcp90/locale.c
+26
-2
No files found.
dlls/msvcp90/locale.c
View file @
8003b0ab
...
...
@@ -5744,8 +5744,32 @@ DEFINE_THISCALL_WRAPPER(num_put_char_do_put_bool, 28)
ostreambuf_iterator_char
*
__thiscall
num_put_char_do_put_bool
(
const
num_put
*
this
,
ostreambuf_iterator_char
*
ret
,
ostreambuf_iterator_char
dest
,
ios_base
*
base
,
char
fill
,
MSVCP_bool
v
)
{
FIXME
(
"(%p %p %p %d %d) stub
\n
"
,
this
,
ret
,
base
,
fill
,
v
);
return
NULL
;
TRACE
(
"(%p %p %p %d %d)
\n
"
,
this
,
ret
,
base
,
fill
,
v
);
if
(
base
->
fmtfl
&
FMTFLAG_boolalpha
)
{
numpunct_char
*
numpunct
=
numpunct_char_use_facet
(
base
->
loc
);
basic_string_char
str
;
MSVCP_size_t
pad
,
len
;
if
(
v
)
numpunct_char_truename
(
numpunct
,
&
str
);
else
numpunct_char_falsename
(
numpunct
,
&
str
);
len
=
MSVCP_basic_string_char_length
(
&
str
);
pad
=
(
len
>
base
->
wide
?
0
:
base
->
wide
-
len
);
base
->
wide
=
0
;
if
((
base
->
fmtfl
&
FMTFLAG_adjustfield
)
!=
FMTFLAG_left
)
{
num_put_char__Rep
(
this
,
&
dest
,
dest
,
fill
,
pad
);
pad
=
0
;
}
num_put_char__Putc
(
this
,
&
dest
,
dest
,
MSVCP_basic_string_char_c_str
(
&
str
),
len
);
MSVCP_basic_string_char_dtor
(
&
str
);
return
num_put_char__Rep
(
this
,
ret
,
dest
,
fill
,
pad
);
}
return
num_put_char_put_long
(
this
,
ret
,
dest
,
base
,
fill
,
v
);
}
/* ?put@?$num_put@DV?$ostreambuf_iterator@DU?$char_traits@D@std@@@std@@@std@@QBE?AV?$ostreambuf_iterator@DU?$char_traits@D@std@@@2@V32@AAVios_base@2@D_N@Z */
...
...
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