public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c61ea7e
)
The previous fix produced an array in which the values were one off.
author
keie
<none@none>
Fri, 11 Jan 1985 13:42:51 +0000
(13:42 +0000)
committer
keie
<none@none>
Fri, 11 Jan 1985 13:42:51 +0000
(13:42 +0000)
This has been fixed.
lang/cem/ctest/ctstruct/str.c
patch
|
blob
|
history
diff --git
a/lang/cem/ctest/ctstruct/str.c
b/lang/cem/ctest/ctstruct/str.c
index
79fb286
..
584f5ba
100644
(file)
--- a/
lang/cem/ctest/ctstruct/str.c
+++ b/
lang/cem/ctest/ctstruct/str.c
@@
-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) ;
}