mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
Avoid compilation warning on OS X 10.4 - 10.6
This commit is contained in:
@@ -168,8 +168,11 @@
|
||||
|
||||
- (IBAction)realToggleFullScreen:(id)sender
|
||||
{
|
||||
#if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7)
|
||||
// HACK! See toggleFullScreen: comment above.
|
||||
[super toggleFullScreen:sender];
|
||||
if ([NSWindow instancesRespondToSelector:@selector(toggleFullScreen:)])
|
||||
[super toggleFullScreen:sender];
|
||||
#endif
|
||||
}
|
||||
|
||||
@end // MMWindow
|
||||
|
||||
Reference in New Issue
Block a user