소스 검색

Make sure current text buffer is empty #1109

pull/1113/head
Ray 5 년 전
부모
커밋
a77273d8d8
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. +1
    -0
      src/text.c

+ 1
- 0
src/text.c 파일 보기

@ -1149,6 +1149,7 @@ const char *TextFormat(const char *text, ...)
static int index = 0;
char *currentBuffer = buffers[index];
memset(currentBuffer, 0, MAX_TEXT_BUFFER_LENGTH); // Clear buffer before using
va_list args;
va_start(args, text);

불러오는 중...
취소
저장