X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Futf8.cpp;h=f95ad9c27a9ea1b76b86d273432f3c74b21b7fea;hp=0217790277a2a1b14112668552cc1675125028d6;hb=51b84c0c2c3abb0cf7e815c5ae259face40ac977;hpb=ebd23ef7dde39a35e9ffdfb5be31934507cefaad diff --git a/source/utf8.cpp b/source/utf8.cpp index 0217790..f95ad9c 100644 --- a/source/utf8.cpp +++ b/source/utf8.cpp @@ -89,4 +89,9 @@ void Utf8::Decoder::sync() throw CodecError("Sync in the middle of multibyte UTF-8 sequence"); } +void Utf8::Decoder::reset() +{ + bytes=0; +} + } // namespace Msp