diff --git a/src/SFML/Window/OSX/SFOpenGLView.mm b/src/SFML/Window/OSX/SFOpenGLView.mm index 855ca608e..38cfd45dc 100644 --- a/src/SFML/Window/OSX/SFOpenGLView.mm +++ b/src/SFML/Window/OSX/SFOpenGLView.mm @@ -359,7 +359,7 @@ if (myUseKeyRepeat || ![theEvent isARepeat]) myRequester->KeyDown([theEvent keyCode], [theEvent modifierFlags]); - if ([[theEvent characters] length] > 0) + if ((myUseKeyRepeat || ![theEvent isARepeat]) && [[theEvent characters] length] > 0) myRequester->TextEntred([[theEvent characters] characterAtIndex:0]); }