raylib/examples/text
Francisco Javier Andrés Casas Barrientos 4dd5643402
Added missing null terminator (#1820)
Added missing null terminator when adding characters to the string, otherwise garbage values are read (often zeros which are equal to '\0', but not every time).

This error results in random characters appearing in the text box every one in a while:
```
asdfg??? ll??
```
It is corrected with the proposed fix.

This problem was observed by my student, Gonzalo Rivera Lazo.
2021-06-10 20:24:08 +02:00
..
resources Added zoom independent sharp edges to the SDF text example. (#1727) 2021-04-19 19:40:34 +02:00
text_draw_3d.c Update text_draw_3d.c 2021-05-31 18:32:35 +02:00
text_draw_3d.png Added draw 3d text example (#1689) 2021-03-28 16:08:14 +02:00
text_font_filters.c Fixes for 64 bit typecast warnings (#1733) 2021-04-25 18:50:26 +02:00
text_font_filters.png RENAMED: text_ttf_loading > text_font_filters 2019-09-12 16:29:26 +02:00
text_font_loading.c Remove trail spaces 2021-04-22 18:55:24 +02:00
text_font_loading.png RENAMED: text_bmfont_ttf > text_font_loading 2019-09-12 16:28:58 +02:00
text_font_sdf.c Remove trail spaces 2021-04-22 18:55:24 +02:00
text_font_sdf.png Reviewed example for clarity 2018-07-15 20:24:18 +02:00
text_font_spritefont.c Fixes for 64 bit typecast warnings (#1733) 2021-04-25 18:50:26 +02:00
text_font_spritefont.png RENAMED: text_sprite_font > text_font_spritefont 2019-09-12 16:30:39 +02:00
text_format_text.c RENAMED: FormatText() -> TextFormat() 2020-08-16 11:28:15 +02:00
text_format_text.png Reorganize examples folder 2017-04-04 01:54:49 +02:00
text_input_box.c Added missing null terminator (#1820) 2021-06-10 20:24:08 +02:00
text_input_box.png new example: text_input_box 2017-04-14 15:37:36 +02:00
text_raylib_fonts.c Fixes for 64 bit typecast warnings (#1733) 2021-04-25 18:50:26 +02:00
text_raylib_fonts.png Working on examples... 2017-04-16 19:08:19 +02:00
text_rectangle_bounds.c Added support for additional mouse buttons (#1753) 2021-05-08 18:26:24 +02:00
text_rectangle_bounds.png examples review 2019-05-14 15:34:23 +02:00
text_unicode.c Added support for additional mouse buttons (#1753) 2021-05-08 18:26:24 +02:00
text_unicode.png Fix for DrawRectangleRounded 2019-04-23 20:48:00 +03:00
text_writing_anim.c Review ALL examples 2019-05-20 16:36:42 +02:00
text_writing_anim.png Reorganize examples folder 2017-04-04 01:54:49 +02:00