diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-16 22:48:53 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-16 22:48:53 -0700 |
commit | 3ea70059805b3ebc795f797b5880b90b6b3a9235 (patch) | |
tree | 580e215d33f103506e983e4b67739c587d8f8c5a /src/Attrib.c | |
parent | 0c9e200c3975917f5d78eac67b1f4cedefd73079 (diff) | |
download | xorg-lib-libXpm-3ea70059805b3ebc795f797b5880b90b6b3a9235.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/Attrib.c')
-rw-r--r-- | src/Attrib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Attrib.c b/src/Attrib.c index cb304df..1b38047 100644 --- a/src/Attrib.c +++ b/src/Attrib.c @@ -57,7 +57,7 @@ CreateOldColorTable( XpmColor **colorTable, **color; unsigned int a; - if (ncolors >= UINT_MAX / sizeof(XpmColor *)) + if (ncolors >= UINT_MAX / sizeof(XpmColor *)) return XpmNoMemory; colorTable = (XpmColor **) XpmMalloc(ncolors * sizeof(XpmColor *)); |