Small improvements to code quality

This commit is contained in:
Linus Dierheimer
2022-02-12 22:30:57 +01:00
parent a7728f61fb
commit 451848f6fd
7 changed files with 24 additions and 38 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ void ffStrbufAppendVF(FFstrbuf* strbuf, const char* format, va_list arguments)
va_end(copy);
if(written <= 0)
if(written == 0)
return;
strbuf->length += written;