The previous fix produced an array in which the values were one off.
authorkeie <none@none>
Fri, 11 Jan 1985 13:42:51 +0000 (13:42 +0000)
committerkeie <none@none>
Fri, 11 Jan 1985 13:42:51 +0000 (13:42 +0000)
This has been fixed.

lang/cem/ctest/ctstruct/str.c

index 79fb286..584f5ba 100644 (file)
@@ -153,7 +153,7 @@ struct w3 setp1(count) {
                return(myp) ;
        }
        myp = setp1(count-1) ;
-       myp.w3_a[count-1] = 99-count ;
+       myp.w3_a[count-1] = 99-count-1 ;
        return(myp) ;
 }