about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2021-01-07 04:42:46 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2021-01-07 04:42:46 +0000
commitde766f4cb39f3c179dd903a723ce170390348040 (patch)
treea65ae238aa5963896eff712bac3bd405c799f4fe
parentcefc43f66063744aabeaa9cbb71f2423f852b638 (diff)
downloadnetpbm-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.c2
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 {