diff options
Diffstat (limited to 'editor')
-rw-r--r-- | editor/pnmcat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/pnmcat.c b/editor/pnmcat.c index 5ede0bbc..ea622a34 100644 --- a/editor/pnmcat.c +++ b/editor/pnmcat.c @@ -497,7 +497,7 @@ concatenateTopBottomPbm(FILE * const ofP, startRow = 0; backChange = FALSE; padleft = 0; - outrow[newcols-1] = 0x00; + outrow[pbm_packed_bytes(newcols)-1] = 0x00; } else { /* Determine amount of padding and color */ switch (justification) { |