[PATCH:xsetroot] Remove unnecessary parentheses.

Thomas Klausner wiz at NetBSD.org
Fri Mar 28 16:50:39 PDT 2014


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



More information about the xorg-devel mailing list