[MPlayer-cvslog] r28025 - trunk/libvo/vo_quartz.c
gpoirier
subversion at mplayerhq.hu
Mon Nov 24 15:25:15 CET 2008
Author: gpoirier
Date: Mon Nov 24 15:25:14 2008
New Revision: 28025
Log:
avoid putting several statements on a single line
Modified:
trunk/libvo/vo_quartz.c
Modified: trunk/libvo/vo_quartz.c
==============================================================================
--- trunk/libvo/vo_quartz.c (original)
+++ trunk/libvo/vo_quartz.c Mon Nov 24 15:25:14 2008
@@ -333,7 +333,9 @@ static OSStatus MouseEventHandler(EventH
mplayer_put_key(MOUSE_BTN1);
break;
- default:result = eventNotHandledErr;break;
+ default:
+ result = eventNotHandledErr;
+ break;
}
break;
}
@@ -364,7 +366,9 @@ static OSStatus MouseEventHandler(EventH
mplayer_put_key(MOUSE_BTN1 | MP_KEY_DOWN);
break;
- default:result = eventNotHandledErr;break;
+ default:
+ result = eventNotHandledErr;
+ break;
}
}
}
@@ -373,7 +377,9 @@ static OSStatus MouseEventHandler(EventH
case kEventMouseDragged:
break;
- default:result = eventNotHandledErr;break;
+ default:
+ result = eventNotHandledErr;
+ break;
}
}
@@ -407,7 +413,8 @@ static OSStatus WindowEventHandler(Event
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(Event
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(Event
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(Event
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;
}
}
More information about the MPlayer-cvslog
mailing list