From 397048420b324a47c65cb4b6a844f592d8d4c60a Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 5 Oct 2010 21:29:47 +0200 Subject: [PATCH] Fixed: #1119 Crash when pressing a key under Mac OS X 10.5.7 --- code/nel/src/3d/driver/opengl/mac/cocoa_opengl_view.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/nel/src/3d/driver/opengl/mac/cocoa_opengl_view.m b/code/nel/src/3d/driver/opengl/mac/cocoa_opengl_view.m index fbb43f5fc..bcfbcf175 100644 --- a/code/nel/src/3d/driver/opengl/mac/cocoa_opengl_view.m +++ b/code/nel/src/3d/driver/opengl/mac/cocoa_opengl_view.m @@ -38,7 +38,9 @@ -(void)keyDown:(NSEvent*)event { +#ifdef MAC_OS_X_VERSION_10_6 [[self inputContext] handleEvent:event]; +#endif // MAC_OS_X_VERSION_10_6 } /******************************************************************************/