Pārlūkot izejas kodu

REVIEWED: TextFormat() #1626

pull/1632/head
Ray pirms 4 gadiem
vecāks
revīzija
ca22a87949
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      src/text.c

+ 1
- 1
src/text.c Parādīt failu

@ -1175,7 +1175,7 @@ const char *TextFormat(const char *text, ...)
va_list args;
va_start(args, text);
vsprintf(currentBuffer, text, args);
vsnprintf(currentBuffer, MAX_TEXT_BUFFER_LENGTH, text, args);
va_end(args);
index += 1; // Move to next buffer for next function call

Notiek ielāde…
Atcelt
Saglabāt