summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-rw-r--r--libvo/cocoa_common.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/libvo/cocoa_common.m b/libvo/cocoa_common.m
index ef7baf6f89..b220da8798 100644
--- a/libvo/cocoa_common.m
+++ b/libvo/cocoa_common.m
@@ -592,9 +592,10 @@ void create_menu()
- (void)windowDidResize:(NSNotification *) notification
{
- struct vo_cocoa_state *s = _vo->cocoa;
- if (_vo)
+ if (_vo) {
+ struct vo_cocoa_state *s = _vo->cocoa;
s->did_resize = YES;
+ }
}
- (void)fullscreen