From e300d268f90ec759d07329a07b864b648e7de2d2 Mon Sep 17 00:00:00 2001 From: Rabia Alhaffar Date: Mon, 15 Feb 2021 14:28:52 +0200 Subject: [PATCH] Fixed problem related to `IsKeyPressed` function! (#1589) --- examples/shapes/shapes_logo_raylib_anim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/shapes/shapes_logo_raylib_anim.c b/examples/shapes/shapes_logo_raylib_anim.c index b8558393e..fe5eeffb4 100644 --- a/examples/shapes/shapes_logo_raylib_anim.c +++ b/examples/shapes/shapes_logo_raylib_anim.c @@ -90,7 +90,7 @@ int main(void) } else if (state == 4) // State 4: Reset and Replay { - if (IsKeyPressed('R')) + if (IsKeyPressed(KEY_R)) { framesCounter = 0; lettersCount = 0; @@ -157,4 +157,4 @@ int main(void) //-------------------------------------------------------------------------------------- return 0; -} \ No newline at end of file +}