Merge pull request #2140 from Ryozuki/pr_fix_endless_loop

prevent endless loop
This commit is contained in:
Dennis Felsing 2020-04-14 12:58:30 +02:00 committed by GitHub
commit 6e44394342
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -921,8 +921,6 @@ public:
while(pCurrent < pBatchEnd)
{
int Character = NextCharacter;
if(!Character)
break;
pCurrent = pTmp;
NextCharacter = str_utf8_decode(&pTmp);