From 1bfc735a9e5f4098afc5f4168fdbcba70f5cea1d Mon Sep 17 00:00:00 2001 From: Marco Antognini Date: Thu, 17 Apr 2014 09:20:06 +0200 Subject: [PATCH] Improved style --- src/SFML/Window/OSX/SFApplication.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SFML/Window/OSX/SFApplication.m b/src/SFML/Window/OSX/SFApplication.m index bee92f80..a2f468d3 100644 --- a/src/SFML/Window/OSX/SFApplication.m +++ b/src/SFML/Window/OSX/SFApplication.m @@ -253,7 +253,8 @@ // custom OpenGL view. See -[SFOpenGLView sfKeyUp:] for more details. id firstResponder = [[anEvent window] firstResponder]; - if (([anEvent type] != NSKeyUp) || (![firstResponder tryToPerform:@selector(sfKeyUp:) with:anEvent])) { + if (([anEvent type] != NSKeyUp) || (![firstResponder tryToPerform:@selector(sfKeyUp:) with:anEvent])) + { // It's either not a key up event or no responder has a sfKeyUp // message implemented. [super sendEvent:anEvent];