diff options
Diffstat (limited to 'editor/pamcat.c')
-rw-r--r-- | editor/pamcat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/pamcat.c b/editor/pamcat.c index bac35891..adc88e29 100644 --- a/editor/pamcat.c +++ b/editor/pamcat.c @@ -349,11 +349,11 @@ padFillBitrow(unsigned char * const destBitrow, -/* concatenateLeftRightPBM() and concatenateLeftRightGen() +/* concatenateLeftRightPbm() and concatenateLeftRightGen() employ almost identical algorithms. The difference is in the data types and functions. - Same for concatenateTopBottomPBM() and concatenateTopBottomGen(). + Same for concatenateTopBottomPbm() and concatenateTopBottomGen(). */ @@ -481,7 +481,7 @@ concatenateLeftRightPbm(struct pam * const outpamP, outrow[pbm_packed_bytes(outpamP->width)-1] = 0x00; - for (row = 0; row < outpamP->width; ++row) { + for (row = 0; row < outpamP->height; ++row) { unsigned int i; for (i = 0; i < fileCt; ++i) { |