mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-09 09:38:19 +00:00
don't check, use dbg_assert
This commit is contained in:
parent
cde63e2f48
commit
09b79701af
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue