changeset 31736:8d6697e4838e

Remove useless ().
author reimar
date Sun, 25 Jul 2010 11:14:07 +0000
parents 3bb00f5abe8e
children 38999f9d3c7e
files libvo/vo_corevideo.m
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_corevideo.m	Sun Jul 25 11:07:15 2010 +0000
+++ b/libvo/vo_corevideo.m	Sun Jul 25 11:14:07 2010 +0000
@@ -632,13 +632,13 @@
 		[self set_winSizeMult: 2];
 	if(sender == kFullScreenCmd)
 	{
-		vo_fs = (!(vo_fs));
+		vo_fs = !vo_fs;
 		[self fullscreen:NO];
 	}
 
 	if(sender == kKeepAspectCmd)
 	{
-		vo_keepaspect = (!(vo_keepaspect));
+		vo_keepaspect = !vo_keepaspect;
 		if(vo_keepaspect)
 			[kKeepAspectCmd setState:NSOnState];
 		else
@@ -649,7 +649,7 @@
 
 	if(sender == kPanScanCmd)
 	{
-		vo_panscan = (!(vo_panscan));
+		vo_panscan = !vo_panscan;
 		if(vo_panscan)
 			[kPanScanCmd setState:NSOnState];
 		else
@@ -763,7 +763,7 @@
 	//automatically hide mouse cursor (and future on-screen control?)
 	if(isFullscreen && !mouseHide && !isRootwin)
 	{
-		if( ((curTime - lastMouseHide) >= 5) || (lastMouseHide == 0) )
+		if(curTime - lastMouseHide >= 5 || lastMouseHide == 0)
 		{
 			CGDisplayHideCursor(kCGDirectMainDisplay);
 			mouseHide = TRUE;
@@ -773,7 +773,7 @@
 
 	//update activity every 30 seconds to prevent
 	//screensaver from starting up.
-	if( ((curTime - lastScreensaverUpdate) >= 30) || (lastScreensaverUpdate == 0) )
+	if(curTime - lastScreensaverUpdate >= 30 || lastScreensaverUpdate == 0)
 	{
 		UpdateSystemActivity(UsrActivity);
 		lastScreensaverUpdate = curTime;