diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2015-06-19 03:02:42 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2015-06-19 03:02:42 +0000 |
commit | 8c2dab4922b514045cbae8e71ba93aaf8c0fff48 (patch) | |
tree | afb884f30d695c9faea1ea17768cded4069eaf4e /converter/pbm/pbmtoescp2.c | |
parent | 921c08b68f785180a918591ea0699de6275d202d (diff) | |
download | netpbm-mirror-8c2dab4922b514045cbae8e71ba93aaf8c0fff48.tar.gz netpbm-mirror-8c2dab4922b514045cbae8e71ba93aaf8c0fff48.tar.xz netpbm-mirror-8c2dab4922b514045cbae8e71ba93aaf8c0fff48.zip |
Release 10.70.07
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@2557 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/pbm/pbmtoescp2.c')
-rw-r--r-- | converter/pbm/pbmtoescp2.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/converter/pbm/pbmtoescp2.c b/converter/pbm/pbmtoescp2.c index 8585614a..7dc6653d 100644 --- a/converter/pbm/pbmtoescp2.c +++ b/converter/pbm/pbmtoescp2.c @@ -165,6 +165,11 @@ main(int argc, char* argv[]) { for (idx = 0; idx < 24 && row+idx < rows; ++idx) pbm_readpbmrow_packed(ifP,bytes+idx*pbm_packed_bytes(cols), cols,format); + /* Add delimiter to end of rows, using inverse of final + data byte to prevent match. */ + *(bytes+idx*pbm_packed_bytes(cols)) = + ~ *(bytes+idx*pbm_packed_bytes(cols)-1); + /* Write raster data. */ if (cmdline.compress != 0) { /* compressed */ |