diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-01-07 04:42:46 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-01-07 04:42:46 +0000 |
commit | de766f4cb39f3c179dd903a723ce170390348040 (patch) | |
tree | a65ae238aa5963896eff712bac3bd405c799f4fe | |
parent | cefc43f66063744aabeaa9cbb71f2423f852b638 (diff) | |
download | netpbm-mirror-de766f4cb39f3c179dd903a723ce170390348040.tar.gz netpbm-mirror-de766f4cb39f3c179dd903a723ce170390348040.tar.xz netpbm-mirror-de766f4cb39f3c179dd903a723ce170390348040.zip |
Fix bug in previous commit
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4026 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | generator/pamstereogram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/pamstereogram.c b/generator/pamstereogram.c index 9f02b371..39356294 100644 --- a/generator/pamstereogram.c +++ b/generator/pamstereogram.c @@ -1237,7 +1237,7 @@ makeImageRow(outGenerator * const outGenP, for (col = xbegin, lastLinked = -1; col > 0; --col) { tuple newtuple; - if (sameR[col-1] == col) { + if (sameR[col-1] == col-1) { if (lastLinked == col) newtuple = outRow[col]; else { |