about summary refs log tree commit diff
path: root/generator
diff options
context:
space:
mode:
Diffstat (limited to 'generator')
-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 {