summaryrefslogtreecommitdiff
path: root/ident.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-10-04 21:03:13 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-10-04 21:03:13 -0700
commita39deac00add15532b15827c80601f87738cb405 (patch)
tree1b897092843346619f6462aaa6810ed561c86857 /ident.c
parentb2d0f04a50f1444f9d62d11636a28c89951f0f40 (diff)
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 'ident.c')
-rw-r--r--ident.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ident.c b/ident.c
index 15fb76b..bf54483 100644
--- a/ident.c
+++ b/ident.c
@@ -142,8 +142,8 @@ fontFileSeek(fontFile *ff, z_off_t offset, int whence)
break;
default:
return -1;
- }
-
+ }
+
while (n > BUFSIZ) {
if (BZ2_bzread(ff->f.bz2, buf, BUFSIZ) != BUFSIZ)
return -1;
@@ -221,7 +221,7 @@ getInt32(fontFile *f, int format)
}
}
-int
+int
bitmapIdentify(const char *filename, char **name)
{
fontFile ff;
@@ -270,7 +270,7 @@ pcfIdentify(fontFile *f, char **name)
rc = fontFileSeek(f, prop_position, SEEK_SET);
if(rc < 0)
goto fail;
-
+
format = getLSB32(f);
if((format & 0xFFFFFF00) != 0)
goto fail;
@@ -428,7 +428,7 @@ bdfIdentify(fontFile *f, char **name)
while(1) {
if(!eol) {
rc = bdfskip(f);
- if(rc < 0)
+ if(rc < 0)
goto fail;
}
k = getKeyword(f, &eol);