# HG changeset patch # User ib # Date 1314899835 0 # Node ID bb35e74851cdc7f1b11ae12a6807915c024471db # Parent ee2bcd6438297c51431379bafbc84b51e2a863c4 Cosmetic: Adjust indent. diff -r ee2bcd643829 -r bb35e74851cd gui/ui/main.c --- a/gui/ui/main.c Thu Sep 01 17:53:33 2011 +0000 +++ b/gui/ui/main.c Thu Sep 01 17:57:15 2011 +0000 @@ -341,7 +341,7 @@ 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 @@ 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 @@ 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 );