summaryrefslogtreecommitdiff
path: root/src/Color.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-16 22:51:39 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-16 22:51:39 -0700
commitb3cfeecf2bddbbb120a9c796a4c9fb8fd08e15fc (patch)
treee278c54a30da052428c4ecaa07941926f2592950 /src/Color.c
parenteaae07c9c9690228e16ab8dc537a8a0c2ae175bf (diff)
downloadxorg-lib-libXrender-b3cfeecf2bddbbb120a9c796a4c9fb8fd08e15fc.tar.gz
Strip trailing whitespace
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' git diff -w & git diff -b show no diffs from this change Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/Color.c')
-rw-r--r--src/Color.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Color.c b/src/Color.c
index 4f934f0..9c76e58 100644
--- a/src/Color.c
+++ b/src/Color.c
@@ -29,14 +29,14 @@
Status
XRenderParseColor(Display *dpy, char *spec, XRenderColor *def)
{
-
+
if (!strncmp (spec, "rgba:", 5))
{
unsigned short elements[4];
unsigned short *pShort;
int i, n;
char c;
-
+
spec += 5;
/*
* Attempt to parse the value portion.
@@ -76,7 +76,7 @@ XRenderParseColor(Display *dpy, char *spec, XRenderColor *def)
{
XColor coreColor;
Colormap colormap;
-
+
colormap = DefaultColormap (dpy, DefaultScreen (dpy));
if (!XParseColor (dpy, colormap, spec, &coreColor))
return 0;