mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Merge pull request #2140 from Ryozuki/pr_fix_endless_loop
prevent endless loop
This commit is contained in:
commit
6e44394342
|
@ -921,8 +921,6 @@ public:
|
|||
while(pCurrent < pBatchEnd)
|
||||
{
|
||||
int Character = NextCharacter;
|
||||
if(!Character)
|
||||
break;
|
||||
pCurrent = pTmp;
|
||||
NextCharacter = str_utf8_decode(&pTmp);
|
||||
|
||||
|
|
Loading…
Reference in a new issue