mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Fixed vsnprintf.
This commit is contained in:
@@ -1197,7 +1197,7 @@ namespace bx
|
||||
|
||||
int32_t vsnprintf(char* _out, int32_t _max, const char* _format, va_list _argList)
|
||||
{
|
||||
if (1 < _max)
|
||||
if (0 < _max)
|
||||
{
|
||||
StaticMemoryBlockWriter writer(_out, uint32_t(_max) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user