diff options
author | Andre Pang <athp@users.sourceforge.net> | 2004-06-22 16:08:07 +0000 |
---|---|---|
committer | Andre Pang <athp@users.sourceforge.net> | 2004-06-22 16:08:07 +0000 |
commit | eb33c790300ba888b551418cdb74e6e78886b11f (patch) | |
tree | d95e2b576bc6edca9ec7a693000dfc94d26a4dcc /src | |
parent | 8cb829cded07955ade2334f56c260da59b49c1a3 (diff) | |
download | xine-lib-eb33c790300ba888b551418cdb74e6e78886b11f.tar.gz xine-lib-eb33c790300ba888b551418cdb74e6e78886b11f.tar.bz2 |
Compiler warning fixes
CVS patchset: 6733
CVS date: 2004/06/22 16:08:07
Diffstat (limited to 'src')
-rw-r--r-- | src/video_out/macosx/video_window.m | 4 |
1 files changed, 2 insertions, 2 deletions
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); |