From ea7f3f0a624247006fbfbd8638435e2e3c32324c Mon Sep 17 00:00:00 2001 From: Ryozuki Date: Tue, 14 Apr 2020 12:51:48 +0200 Subject: [PATCH] prevent endless loop --- src/engine/client/text.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/engine/client/text.cpp b/src/engine/client/text.cpp index 19913a50e..9a8c388ab 100644 --- a/src/engine/client/text.cpp +++ b/src/engine/client/text.cpp @@ -921,8 +921,6 @@ public: while(pCurrent < pBatchEnd) { int Character = NextCharacter; - if(!Character) - break; pCurrent = pTmp; NextCharacter = str_utf8_decode(&pTmp);