codecvt_members.cc (codecvt::do_in): Minor stylistic tweak.
2003-11-30 Paolo Carlini <pcarlini@suse.de> * config/locale/gnu/codecvt_members.cc (codecvt::do_in): Minor stylistic tweak. From-SVN: r74060
This commit is contained in:
parent
6a09dded44
commit
11816ba280
|
@ -1,3 +1,8 @@
|
||||||
|
2003-11-30 Paolo Carlini <pcarlini@suse.de>
|
||||||
|
|
||||||
|
* config/locale/gnu/codecvt_members.cc (codecvt::do_in):
|
||||||
|
Minor stylistic tweak.
|
||||||
|
|
||||||
2003-11-30 Paolo Carlini <pcarlini@suse.de>
|
2003-11-30 Paolo Carlini <pcarlini@suse.de>
|
||||||
|
|
||||||
* include/bits/locale_facets.tcc (num_put::do_put(..., bool)):
|
* include/bits/locale_facets.tcc (num_put::do_put(..., bool)):
|
||||||
|
|
|
@ -152,7 +152,7 @@ namespace std
|
||||||
// In case of error, in order to stop at the exact place we
|
// In case of error, in order to stop at the exact place we
|
||||||
// have to start again from the beginning with a series of
|
// have to start again from the beginning with a series of
|
||||||
// mbrtowc.
|
// mbrtowc.
|
||||||
for (;;)
|
for (;; ++__to_next)
|
||||||
{
|
{
|
||||||
const size_t __conv_err = mbrtowc(__to_next, __from,
|
const size_t __conv_err = mbrtowc(__to_next, __from,
|
||||||
__from_end - __from,
|
__from_end - __from,
|
||||||
|
@ -161,7 +161,6 @@ namespace std
|
||||||
|| __conv_err == static_cast<size_t>(-2))
|
|| __conv_err == static_cast<size_t>(-2))
|
||||||
break;
|
break;
|
||||||
__from += __conv_err;
|
__from += __conv_err;
|
||||||
++__to_next;
|
|
||||||
}
|
}
|
||||||
__from_next = __from;
|
__from_next = __from;
|
||||||
__state = __tmp_state;
|
__state = __tmp_state;
|
||||||
|
|
Loading…
Reference in New Issue