Review code formatting
This commit is contained in:
parent
7bc2e922c9
commit
b188008a1c
6 changed files with 28 additions and 24 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue