From eb33c790300ba888b551418cdb74e6e78886b11f Mon Sep 17 00:00:00 2001 From: Andre Pang Date: Tue, 22 Jun 2004 16:08:07 +0000 Subject: Compiler warning fixes CVS patchset: 6733 CVS date: 2004/06/22 16:08:07 --- src/video_out/macosx/video_window.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/video_out/macosx/video_window.m b/src/video_out/macosx/video_window.m index 543ce6ff3..e161613b3 100644 --- a/src/video_out/macosx/video_window.m +++ b/src/video_out/macosx/video_window.m @@ -109,7 +109,7 @@ NSString *XineViewDidResizeNotification = @"XineViewDidResizeNotification"; NSRect standard_frame; if ([xineView isFullScreen]) - return; + return defaultFrame; screen_size = defaultFrame.size; video_size = [xineView videoSize]; @@ -379,7 +379,7 @@ NSString *XineViewDidResizeNotification = @"XineViewDidResizeNotification"; } - (void) calcFullScreenAspect { - int fs_width, fs_height, x, y, w, h; + int fs_width, fs_height, x = 0, y = 0, w = 0, h = 0; fs_width = CGDisplayPixelsWide (kCGDirectMainDisplay); fs_height = CGDisplayPixelsHigh (kCGDirectMainDisplay); -- cgit v1.2.3