diff options
Diffstat (limited to 'Source/Internal/common.h')
-rw-r--r-- | Source/Internal/common.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Internal/common.h b/Source/Internal/common.h index b005b882..9ae474c2 100644 --- a/Source/Internal/common.h +++ b/Source/Internal/common.h @@ -1,7 +1,7 @@ //----------------------------------------------------------------------------- // Name: common.h // Developer: Wolfire Games LLC -// Description: +// Description: // License: Read below //----------------------------------------------------------------------------- // @@ -31,9 +31,9 @@ float MoveTowards(float val, float target, float amount); inline void VFormatString(char* buf, int buf_size, const char* fmt, va_list args) { int val = vsnprintf(buf, buf_size, fmt, args); - if(val == -1 || val >= buf_size){ - buf[buf_size-1] = '\0'; - LOG_ASSERT(false); // Failed to format string + if (val == -1 || val >= buf_size) { + buf[buf_size - 1] = '\0'; + LOG_ASSERT(false); // Failed to format string } } |