]> git.sesse.net Git - vlc/commitdiff
Fix OSD when auto-scaling
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 20 Mar 2012 11:10:19 +0000 (12:10 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 20 Mar 2012 11:10:19 +0000 (12:10 +0100)
Close #6423

modules/control/hotkeys.c

index d606f27f1c86dd9e5597da7702477d619dae0c94..74e74f0f8ca1fe26a8ac0b40c0c45af1b51756c3 100644 (file)
@@ -573,7 +573,7 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
                 {
                     bool b_autoscale = !var_GetBool( p_vout, "autoscale" );
                     var_SetBool( p_vout, "autoscale", b_autoscale );
-                    if( !b_autoscale )
+                    if( b_autoscale )
                         DisplayMessage( p_vout, SPU_DEFAULT_CHANNEL,
                                         "%s", _("Scaled to screen") );
                     else