# HG changeset patch # User ib # Date 1358528943 0 # Node ID e56df184e11816f87e08ce44810105b1c9a65dcc # Parent e9ca16ecb10642ce451e5380e2a91bf81e3161c0 Don't set "normal size" check mark in menu by default. The "Normal size" item in the menu is currently marked by default if the video is neither double nor half size, and even if the video window size isn't the exact video size. To avoid confusion, only set the check mark, if window and video are the same size, and mark nothing if not. Based on a patch by Hans-Dieter Kosch, hdkosch kabelbw de. diff -r e9ca16ecb106 -r e56df184e118 gui/dialog/menu.c --- a/gui/dialog/menu.c Fri Jan 18 09:50:30 2013 +0000 +++ b/gui/dialog/menu.c Fri Jan 18 17:09:03 2013 +0000 @@ -654,7 +654,7 @@ ( guiApp.videoWindow.Height == guiInfo.VideoHeight * 2 ) ) b2=True; else if ( ( guiApp.videoWindow.Width == guiInfo.VideoWidth / 2 ) && ( guiApp.videoWindow.Height == guiInfo.VideoHeight / 2 ) ) b_half=True; - else b1=True; + else b1=( guiApp.videoWindow.Width == guiInfo.VideoWidth && guiApp.videoWindow.Height == guiInfo.VideoHeight ); } else b1=!guiApp.videoWindow.isFullScreen; H=AddMenuCheckItem( window1, (const char*)half_xpm, Menu,MSGTR_MENU_HalfSize,b_half,evHalfSize ); N=AddMenuCheckItem( window1, (const char*)normal_xpm, Menu,MSGTR_MENU_NormalSize" ",b1,evNormalSize );