summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console.c b/src/console.c
index 6fa0c79..07e3c37 100644
--- a/src/console.c
+++ b/src/console.c
@@ -412,7 +412,7 @@ void BarConsolePrint(const char* format, ...)
void BarConsolePrintV(const char* format, va_list args)
{
char localBuffer[BAR_BUFFER_CAPACITY];
- size_t bufferSize = 0, i = 0;
+ size_t bufferSize = BAR_BUFFER_CAPACITY, i = 0;
char* buffer = BarConsoleFormat(localBuffer, bufferSize, format, args);