summaryrefslogtreecommitdiffhomepage
path: root/examples/web/text/text_writing_anim.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/web/text/text_writing_anim.c')
-rw-r--r--examples/web/text/text_writing_anim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/web/text/text_writing_anim.c b/examples/web/text/text_writing_anim.c
index a8315b5..28fef66 100644
--- a/examples/web/text/text_writing_anim.c
+++ b/examples/web/text/text_writing_anim.c
@@ -78,7 +78,7 @@ void UpdateDrawFrame(void)
ClearBackground(RAYWHITE);
- DrawText(SubText(message, 0, framesCounter/10), 210, 160, 20, MAROON);
+ DrawText(TextSubtext(message, 0, framesCounter/10), 210, 160, 20, MAROON);
DrawText("PRESS [ENTER] to RESTART!", 240, 280, 20, LIGHTGRAY);