mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-22 18:07:09 +01:00
public: fix tautological-compare
This commit is contained in:
parent
cf35943f51
commit
e0d993a5a8
@ -569,7 +569,7 @@ int Q_vsnprintf( char *buffer, size_t buffersize, const char *format, va_list ar
|
||||
}
|
||||
#endif
|
||||
|
||||
if( result < 0 || result >= buffersize )
|
||||
if( result >= buffersize )
|
||||
{
|
||||
buffer[buffersize - 1] = '\0';
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user