summaryrefslogtreecommitdiff
path: root/gs
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-05-24 09:03:09 +0100
committerRobin Watts <robin.watts@artifex.com>2012-05-24 09:03:09 +0100
commite21f69e10ddd68ea807773a8b57e10d23bd74a4f (patch)
tree164524c2da6fa75a92bc92b92d7b1a98e367ac3f /gs
parente13b5cf5b8c7db67f88c5da62eeb8c8a4d077436 (diff)
Fix a couple of error messages in bmpcmp
Diffstat (limited to 'gs')
-rw-r--r--gs/toolbin/bmpcmp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gs/toolbin/bmpcmp.c b/gs/toolbin/bmpcmp.c
index 6dab5766e..2a82ff485 100644
--- a/gs/toolbin/bmpcmp.c
+++ b/gs/toolbin/bmpcmp.c
@@ -1102,19 +1102,19 @@ static void *psd_read(ImageReader *im,
if (c == 4) {
*cmyk = 1;
if (n < 4) {
- fprintf(stderr, "bmpcmp: Unexpected number of compoents (%d) in a CMYK (+spots) PSD file!\n", n);
+ fprintf(stderr, "bmpcmp: Unexpected number of components (%d) in a CMYK (+spots) PSD file!\n", n);
exit(1);
}
} else if (c == 3) {
*cmyk = 0; /* RGB */
if (n != 3) {
- fprintf(stderr, "bmpcmp: Unexpected number of compoents (%d) in a RGB PSD file!\n");
+ fprintf(stderr, "bmpcmp: Unexpected number of components (%d) in a RGB PSD file!\n", n);
exit(1);
}
} else if (c == 1) {
*cmyk = 0; /* Greyscale */
if (n != 1) {
- fprintf(stderr, "bmpcmp: Unexpected number of compoents (%d) in a Greyscale PSD file!\n");
+ fprintf(stderr, "bmpcmp: Unexpected number of components (%d) in a Greyscale PSD file!\n", n);
exit(1);
}
} else {