From de766f4cb39f3c179dd903a723ce170390348040 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Thu, 7 Jan 2021 04:42:46 +0000 Subject: Fix bug in previous commit git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4026 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- generator/pamstereogram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'generator') 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 { -- cgit 1.4.1