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:
Paolo Carlini 2003-11-30 15:18:27 +00:00 committed by Paolo Carlini
parent 6a09dded44
commit 11816ba280
2 changed files with 6 additions and 2 deletions

View File

@ -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>
* include/bits/locale_facets.tcc (num_put::do_put(..., bool)):

View File

@ -152,7 +152,7 @@ namespace std
// In case of error, in order to stop at the exact place we
// have to start again from the beginning with a series of
// mbrtowc.
for (;;)
for (;; ++__to_next)
{
const size_t __conv_err = mbrtowc(__to_next, __from,
__from_end - __from,
@ -161,7 +161,6 @@ namespace std
|| __conv_err == static_cast<size_t>(-2))
break;
__from += __conv_err;
++__to_next;
}
__from_next = __from;
__state = __tmp_state;