diff options
| author | Ray <[email protected]> | 2021-03-03 19:55:09 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-03-03 19:55:09 +0100 |
| commit | ca22a8794977aadce9a90f41bdb7693b16e3010f (patch) | |
| tree | 946840caaa1d45315fe979a244462e05b40be8f6 /src | |
| parent | c938d71d15192ba62049294d715bcffd65d44eea (diff) | |
| download | raylib-ca22a8794977aadce9a90f41bdb7693b16e3010f.tar.gz raylib-ca22a8794977aadce9a90f41bdb7693b16e3010f.zip | |
REVIEWED: TextFormat() #1626
Diffstat (limited to 'src')
| -rw-r--r-- | src/text.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
