don't check, use dbg_assert

This commit is contained in:
Ryozuki 2020-04-08 22:40:36 +02:00
parent cde63e2f48
commit 09b79701af
No known key found for this signature in database
GPG key ID: 848FCC08E5B89681

View file

@ -784,7 +784,9 @@ public:
virtual void TextEx(CTextCursor *pCursor, const char *pText, int Length)
{
if(!pText || !*pText)
dbg_assert(pText != NULL, "null text pointer");
if(!*pText)
return;
CFont *pFont = pCursor->m_pFont;