Mercurial > mplayer.hg
changeset 27991:0a0ea17f7f64
avoid putting several statements on a single line
author | gpoirier |
---|---|
date | Mon, 24 Nov 2008 14:25:14 +0000 |
parents | a5755165051a |
children | 0923262b0ebc |
files | libvo/vo_quartz.c |
diffstat | 1 files changed, 21 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_quartz.c Mon Nov 24 13:34:31 2008 +0000 +++ b/libvo/vo_quartz.c Mon Nov 24 14:25:14 2008 +0000 @@ -333,7 +333,9 @@ mplayer_put_key(MOUSE_BTN1); break; - default:result = eventNotHandledErr;break; + default: + result = eventNotHandledErr; + break; } break; } @@ -364,7 +366,9 @@ mplayer_put_key(MOUSE_BTN1 | MP_KEY_DOWN); break; - default:result = eventNotHandledErr;break; + default: + result = eventNotHandledErr; + break; } } } @@ -373,7 +377,9 @@ case kEventMouseDragged: break; - default:result = eventNotHandledErr;break; + default: + result = eventNotHandledErr; + break; } } @@ -407,7 +413,8 @@ 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 @@ 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 @@ 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 @@ break; case kFullScreenCmd: - vo_fs = (!(vo_fs)); window_fullscreen(); + vo_fs = (!(vo_fs)); + window_fullscreen(); break; case kKeepAspectCmd: @@ -1143,8 +1153,10 @@ 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; } }