diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2016-12-01 01:07:53 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2016-12-01 01:07:53 +0000 |
commit | 036f0cf61db2a3521d724d0bc671e719c3be9a38 (patch) | |
tree | fc0efa8dfe57b76fc8addf17848f0976186a96df /editor/pnmpad.c | |
parent | 74972256fffd43d1f1e16f0d4bc373e93aaed444 (diff) | |
download | netpbm-mirror-036f0cf61db2a3521d724d0bc671e719c3be9a38.tar.gz netpbm-mirror-036f0cf61db2a3521d724d0bc671e719c3be9a38.tar.xz netpbm-mirror-036f0cf61db2a3521d724d0bc671e719c3be9a38.zip |
Release 10.76.01
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@2846 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor/pnmpad.c')
-rw-r--r-- | editor/pnmpad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/pnmpad.c b/editor/pnmpad.c index 168b73e0..051f3895 100644 --- a/editor/pnmpad.c +++ b/editor/pnmpad.c @@ -309,7 +309,7 @@ computePadSizeBeforeMult(unsigned int const unpaddedSize, *begPadP = begPadReq; *endPadP = MAX(sizeReq, unpaddedSize + begPadReq) - (begPadReq + unpaddedSize); - } else if (endPadReq) { + } else if (endPadSpec) { *endPadP = endPadReq; *begPadP = MAX(sizeReq, unpaddedSize + endPadReq) - (unpaddedSize + endPadReq); |