[MPlayer-cvslog] r34038 - trunk/gui/ui/main.c

ib subversion at mplayerhq.hu
Thu Sep 1 19:57:15 CEST 2011


Author: ib
Date: Thu Sep  1 19:57:15 2011
New Revision: 34038

Log:
Cosmetic: Adjust indent.

Modified:
   trunk/gui/ui/main.c

Modified: trunk/gui/ui/main.c
==============================================================================
--- trunk/gui/ui/main.c	Thu Sep  1 19:53:33 2011	(r34037)
+++ trunk/gui/ui/main.c	Thu Sep  1 19:57:15 2011	(r34038)
@@ -341,7 +341,7 @@ set_volume:
           wsMoveWindow( &guiApp.subWindow, False,
                         ( wsMaxX - guiInfo.VideoWidth/2  )/2 + wsOrgX,
                         ( wsMaxY - guiInfo.VideoHeight/2 )/2 + wsOrgY  );
-         btnSet( evFullScreen,btnReleased );
+          btnSet( evFullScreen,btnReleased );
          }
         break;
    case evDoubleSize:
@@ -355,7 +355,7 @@ set_volume:
           wsMoveWindow( &guiApp.subWindow, False,
                         ( wsMaxX - guiInfo.VideoWidth*2  )/2 + wsOrgX,
                         ( wsMaxY - guiInfo.VideoHeight*2 )/2 + wsOrgY  );
-         btnSet( evFullScreen,btnReleased );
+          btnSet( evFullScreen,btnReleased );
          }
         break;
    case evNormalSize:
@@ -373,12 +373,12 @@ set_volume:
    case evFullScreen:
         if ( guiInfo.VideoWindow && guiInfo.Playing )
          {
-        uiFullScreen();
-        if ( !guiApp.subWindow.isFullScreen )
-         {
-          wsResizeWindow( &guiApp.subWindow, guiInfo.VideoWidth, guiInfo.VideoHeight );
-          wsMoveWindow( &guiApp.subWindow, True, guiApp.sub.x, guiApp.sub.y );
-         }
+          uiFullScreen();
+          if ( !guiApp.subWindow.isFullScreen )
+           {
+            wsResizeWindow( &guiApp.subWindow, guiInfo.VideoWidth, guiInfo.VideoHeight );
+            wsMoveWindow( &guiApp.subWindow, True, guiApp.sub.x, guiApp.sub.y );
+           }
          }
 	if ( guiApp.subWindow.isFullScreen ) btnSet( evFullScreen,btnPressed );
 	 else btnSet( evFullScreen,btnReleased );


More information about the MPlayer-cvslog mailing list