diff options
Diffstat (limited to 'glib')
-rw-r--r-- | glib/glibmm/ustring.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/glib/glibmm/ustring.h b/glib/glibmm/ustring.h index 528a5369..ccbb103f 100644 --- a/glib/glibmm/ustring.h +++ b/glib/glibmm/ustring.h @@ -1004,7 +1004,8 @@ const ustring_Iterator<T> ustring_Iterator<T>::operator++(int) template <class T> inline ustring_Iterator<T>& ustring_Iterator<T>::operator--() { - do --pos_; while((static_cast<unsigned char>(*pos_) & 0xC0u) == 0x80); + while ((static_cast<unsigned char>(*--pos_) & 0xC0u) == 0x80) + ; return *this; } |