[MPlayer-cvslog] r33174 - trunk/gui/skin/skin.c

Diego Biurrun diego at biurrun.de
Sat Apr 2 13:13:08 CEST 2011


On Fri, Apr 01, 2011 at 01:04:48PM +0200, ib wrote:
> 
> --- trunk/gui/skin/skin.c	Fri Apr  1 12:58:04 2011	(r33173)
> +++ trunk/gui/skin/skin.c	Fri Apr  1 13:04:48 2011	(r33174)
> @@ -825,10 +825,7 @@ static int cmd_decoration(char *in)
>  
> -    if (strcmp(in, "enable") != 0)
> -        skin->mainDecoration = 0;
> -    else
> -        skin->mainDecoration = 1;
> +    skin->mainDecoration = (strcmp(in, "enable") == 0);

pointless parentheses

Diego


More information about the MPlayer-cvslog mailing list