Review code formatting

This commit is contained in:
Ray 2021-06-10 18:00:44 +02:00
parent 7bc2e922c9
commit b188008a1c
6 changed files with 28 additions and 24 deletions

View file

@ -1176,7 +1176,7 @@ const char *TextFormat(const char *text, ...)
// We create an array of buffers so strings don't expire until MAX_TEXTFORMAT_BUFFERS invocations
static char buffers[MAX_TEXTFORMAT_BUFFERS][MAX_TEXT_BUFFER_LENGTH] = { 0 };
static int index = 0;
static int index = 0;
char *currentBuffer = buffers[index];
memset(currentBuffer, 0, MAX_TEXT_BUFFER_LENGTH); // Clear buffer before using