From e21f69e10ddd68ea807773a8b57e10d23bd74a4f Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Thu, 24 May 2012 09:03:09 +0100 Subject: Fix a couple of error messages in bmpcmp --- gs/toolbin/bmpcmp.c | 6 +++--- 1 file 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 { -- cgit v1.2.3