summaryrefslogtreecommitdiffhomepage
path: root/examples/text/text_format_text.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/text/text_format_text.c')
-rw-r--r--examples/text/text_format_text.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/text/text_format_text.c b/examples/text/text_format_text.c
index a9f04176..63408eb9 100644
--- a/examples/text/text_format_text.c
+++ b/examples/text/text_format_text.c
@@ -41,13 +41,13 @@ int main(void)
ClearBackground(RAYWHITE);
- DrawText(FormatText("Score: %08i", score), 200, 80, 20, RED);
+ DrawText(TextFormat("Score: %08i", score), 200, 80, 20, RED);
- DrawText(FormatText("HiScore: %08i", hiscore), 200, 120, 20, GREEN);
+ DrawText(TextFormat("HiScore: %08i", hiscore), 200, 120, 20, GREEN);
- DrawText(FormatText("Lives: %02i", lives), 200, 160, 40, BLUE);
+ DrawText(TextFormat("Lives: %02i", lives), 200, 160, 40, BLUE);
- DrawText(FormatText("Elapsed Time: %02.02f ms", GetFrameTime()*1000), 200, 220, 20, BLACK);
+ DrawText(TextFormat("Elapsed Time: %02.02f ms", GetFrameTime()*1000), 200, 220, 20, BLACK);
EndDrawing();
//----------------------------------------------------------------------------------