From fb4936d0f7ea06554a2b11aaa2272f7ca1dd4a98 Mon Sep 17 00:00:00 2001 From: okan Date: Sun, 13 May 2012 15:15:54 +0000 Subject: knf, some from a diff from Tiago Cunha. --- xutil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xutil.c') diff --git a/xutil.c b/xutil.c index 84ef1d8..67cc856 100644 --- a/xutil.c +++ b/xutil.c @@ -292,10 +292,10 @@ xu_getcolor(struct screen_ctx *sc, char *name) if (!XAllocNamedColor(X_Dpy, DefaultColormap(X_Dpy, sc->which), name, &color, &tmp)) { warnx("XAllocNamedColor error: '%s'", name); - return 0; + return (0); } - return color.pixel; + return (color.pixel); } void -- cgit 1.4.1