This website works better with JavaScript.
Home
Explore
Help
Sign In
Archivist
/
raylib-src
mirror of
https://github.com/raysan5/raylib
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
24
Wiki
Activity
Browse Source
Make sure current text buffer is empty
#1109
pull/1113/head
Ray
5 years ago
parent
310fd9b147
commit
a77273d8d8
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
src/text.c
+ 1
- 0
src/text.c
View File
@ -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
)
;
Write
Preview
Loading…
Cancel
Save