From 4722ad6be68045c2bef5a887ecd181f583ca6649 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sat, 21 Feb 2026 00:06:12 +0500 Subject: [PATCH] ref: replace COM_CheckString and COM_CheckStringEmpty by COM_StringEmptyOrNULL and COM_StringEmpty --- ref/gl/gl_image.c | 2 +- ref/soft/r_image.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ref/gl/gl_image.c b/ref/gl/gl_image.c index 16bab22a..117471b2 100644 --- a/ref/gl/gl_image.c +++ b/ref/gl/gl_image.c @@ -1284,7 +1284,7 @@ static qboolean GL_CheckTexName( const char *name ) { int len; - if( !COM_CheckString( name )) + if( COM_StringEmptyOrNULL( name )) return false; len = Q_strlen( name ); diff --git a/ref/soft/r_image.c b/ref/soft/r_image.c index c628c6e6..be9d1ae2 100644 --- a/ref/soft/r_image.c +++ b/ref/soft/r_image.c @@ -640,7 +640,7 @@ static qboolean GL_CheckTexName( const char *name ) { int len; - if( !COM_CheckString( name )) + if( COM_StringEmptyOrNULL( name )) return false; len = Q_strlen( name );