aboutsummaryrefslogtreecommitdiff
path: root/examples/text_writing_anim.lua
diff options
context:
space:
mode:
authorghassanpl <kronikarz@gmail.com>2016-08-06 20:46:15 +0200
committerghassanpl <kronikarz@gmail.com>2016-08-06 20:46:15 +0200
commit1950085893f16d653f16ec0a0c991678e8c3cf53 (patch)
treee6f4ec40f983f50e427e19a49e7519fa1a51448c /examples/text_writing_anim.lua
parent82a0fae678a0f4b761bd5369222c956ffe173d31 (diff)
parent306945fe147ea7742880635e77a5c2656f6e1fdc (diff)
downloadraylib-1950085893f16d653f16ec0a0c991678e8c3cf53.tar.gz
raylib-1950085893f16d653f16ec0a0c991678e8c3cf53.zip
Merge branch 'develop' of https://github.com/raysan5/raylib into develop
Diffstat (limited to 'examples/text_writing_anim.lua')
-rw-r--r--examples/text_writing_anim.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/text_writing_anim.lua b/examples/text_writing_anim.lua
index 05195dc4..f4af9f58 100644
--- a/examples/text_writing_anim.lua
+++ b/examples/text_writing_anim.lua
@@ -38,7 +38,7 @@ while not WindowShouldClose() do -- Detect window close button or ESC
ClearBackground(RAYWHITE)
- DrawText(string.sub(message, 0, framesCounter/10), 210, 160, 20, MAROON)
+ DrawText(string.sub(message, 0, framesCounter//10), 210, 160, 20, MAROON)
DrawText("PRESS [ENTER] to RESTART!", 240, 280, 20, LIGHTGRAY)