summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2023-08-21 00:34:35 +0200
committerRay <[email protected]>2023-08-21 00:34:35 +0200
commitdfd0436428f95c31885646183d64678f05a80494 (patch)
tree981813eff5f6024baca578dad8580748e5275612 /src
parentb3f82a148ac59ae0615597e553fb64b836616d63 (diff)
downloadraylib-dfd0436428f95c31885646183d64678f05a80494.tar.gz
raylib-dfd0436428f95c31885646183d64678f05a80494.zip
Reviewed `IsKeyPressedRepeat()` #3248
Diffstat (limited to 'src')
-rw-r--r--src/rcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcore.c b/src/rcore.c
index 52a58d6d..1cae7f58 100644
--- a/src/rcore.c
+++ b/src/rcore.c
@@ -3761,7 +3761,7 @@ bool IsKeyPressed(int key)
bool IsKeyPressedRepeat(int key)
{
if (CORE.Input.Keyboard.keyRepeatInFrame[key] == 1) return true;
- else return true;
+ else return false;
}
// Check if a key is being pressed (key held down)