Commit 11816ba2 by Paolo Carlini Committed by Paolo Carlini

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
parent 6a09dded
2003-11-30 Paolo Carlini <pcarlini@suse.de> 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)): * include/bits/locale_facets.tcc (num_put::do_put(..., bool)):
Minor tweaks, consistent with the style used in other facets. Minor tweaks, consistent with the style used in other facets.
......
...@@ -152,7 +152,7 @@ namespace std ...@@ -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 ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment