[PATCH:xsetroot] Remove unnecessary parentheses.

Thomas Klausner wiz at NetBSD.org
Fri Mar 28 16:55:51 PDT 2014


That's for xrandr obviously, not xsetroot. Sorry.
 Thomas

On Sat, Mar 29, 2014 at 12:50:39AM +0100, Thomas Klausner wrote:
> Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
> ---
>  xrandr.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/xrandr.c b/xrandr.c
> index e08a7d6..c51bee3 100644
> --- a/xrandr.c
> +++ b/xrandr.c
> @@ -3266,13 +3266,13 @@ main (int argc, char **argv)
>  		    nelements = 1;
>  		    format = 32;
>  		}
> -		else if ((type == XA_ATOM))
> +		else if (type == XA_ATOM)
>  		{
>  		    ulong_value = XInternAtom (dpy, prop->value, False);
>  		    data = (unsigned char *) &ulong_value;
>  		    nelements = 1;
>  		}
> -		else if ((type == XA_STRING || type == AnyPropertyType))
> +		else if (type == XA_STRING || type == AnyPropertyType)
>  		{
>  		    type = XA_STRING;
>  		    data = (unsigned char *) prop->value;
> -- 
> 1.9.0
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
> 


More information about the xorg-devel mailing list