summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorgpoirier <gpoirier@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-24 14:25:14 +0000
committergpoirier <gpoirier@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-24 14:25:14 +0000
commit20011636d27b8592d78dd5f82bdb95f0a6c256a4 (patch)
treeedbbe076b3f04128c3c8c94516c499ee39fe2dc1 /libvo
parent40a450c69b574299d2bd57ac84709ec56d2c8904 (diff)
downloadmpv-20011636d27b8592d78dd5f82bdb95f0a6c256a4.tar.bz2
mpv-20011636d27b8592d78dd5f82bdb95f0a6c256a4.tar.xz
avoid putting several statements on a single line
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28025 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_quartz.c30
1 files changed, 21 insertions, 9 deletions
diff --git a/libvo/vo_quartz.c b/libvo/vo_quartz.c
index 16dc533500..05e2ba9fc9 100644
--- a/libvo/vo_quartz.c
+++ b/libvo/vo_quartz.c
@@ -333,7 +333,9 @@ static OSStatus MouseEventHandler(EventHandlerCallRef nextHandler, EventRef even
mplayer_put_key(MOUSE_BTN1);
break;
- default:result = eventNotHandledErr;break;
+ default:
+ result = eventNotHandledErr;
+ break;
}
break;
}
@@ -364,7 +366,9 @@ static OSStatus MouseEventHandler(EventHandlerCallRef nextHandler, EventRef even
mplayer_put_key(MOUSE_BTN1 | MP_KEY_DOWN);
break;
- default:result = eventNotHandledErr;break;
+ default:
+ result = eventNotHandledErr;
+ break;
}
}
}
@@ -373,7 +377,9 @@ static OSStatus MouseEventHandler(EventHandlerCallRef nextHandler, EventRef even
case kEventMouseDragged:
break;
- default:result = eventNotHandledErr;break;
+ default:
+ result = eventNotHandledErr;
+ break;
}
}
@@ -407,7 +413,8 @@ static OSStatus WindowEventHandler(EventHandlerCallRef nextHandler, EventRef eve
case kHalfScreenCmd:
if(vo_quartz_fs)
{
- vo_fs = (!(vo_fs)); window_fullscreen();
+ vo_fs = (!(vo_fs));
+ window_fullscreen();
}
SizeWindow(theWindow, (d_width/2), ((d_width/movie_aspect)/2), 1);
@@ -417,7 +424,8 @@ static OSStatus WindowEventHandler(EventHandlerCallRef nextHandler, EventRef eve
case kNormalScreenCmd:
if(vo_quartz_fs)
{
- vo_fs = (!(vo_fs)); window_fullscreen();
+ vo_fs = (!(vo_fs));
+ window_fullscreen();
}
SizeWindow(theWindow, d_width, (d_width/movie_aspect), 1);
@@ -427,7 +435,8 @@ static OSStatus WindowEventHandler(EventHandlerCallRef nextHandler, EventRef eve
case kDoubleScreenCmd:
if(vo_quartz_fs)
{
- vo_fs = (!(vo_fs)); window_fullscreen();
+ vo_fs = (!(vo_fs));
+ window_fullscreen();
}
SizeWindow(theWindow, (d_width*2), ((d_width/movie_aspect)*2), 1);
@@ -435,7 +444,8 @@ static OSStatus WindowEventHandler(EventHandlerCallRef nextHandler, EventRef eve
break;
case kFullScreenCmd:
- vo_fs = (!(vo_fs)); window_fullscreen();
+ vo_fs = (!(vo_fs));
+ window_fullscreen();
break;
case kKeepAspectCmd:
@@ -1143,8 +1153,10 @@ static int preinit(const char *arg)
parse_pos = &parse_pos[1];
fs_res_y = strtol(parse_pos, &parse_pos, 0);
}
- if (parse_pos[0] == ':') parse_pos = &parse_pos[1];
- else if (parse_pos[0]) parse_err = 1;
+ if (parse_pos[0] == ':')
+ parse_pos = &parse_pos[1];
+ else if (parse_pos[0])
+ parse_err = 1;
}
}