Mercurial > mplayer.hg
changeset 33950:bb35e74851cd
Cosmetic: Adjust indent.
author | ib |
---|---|
date | Thu, 01 Sep 2011 17:57:15 +0000 |
parents | ee2bcd643829 |
children | 2c26c2f2136e |
files | gui/ui/main.c |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- 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 );