diff --git a/intl/uconv/ucvlatin/nsUTF8ToUnicode.cpp b/intl/uconv/ucvlatin/nsUTF8ToUnicode.cpp index e9c9924b347f..d8fa2f5b7774 100644 --- a/intl/uconv/ucvlatin/nsUTF8ToUnicode.cpp +++ b/intl/uconv/ucvlatin/nsUTF8ToUnicode.cpp @@ -160,6 +160,7 @@ NS_IMETHODIMP nsUTF8ToUnicode::GetMaxLength(const char * aSrc, //unexpected octet, put in a replacement char, //flush and refill the buffer, reset state + in--; res = NS_ERROR_UNEXPECTED; break;