Fix a problem when using the left key to change the ring and checkbox menu

items. The old code used modulus which does not give the required result,
for C (ISO 1990) and before the result is implementation defined so may have
worked for some compilers / targets but from C (ISO 1999) onwards the sign
of the result comes from the dividend so will not work. (By M. T. Jones)
This commit is contained in:
mmdolze
2012-12-27 11:49:29 +00:00
parent 7b316f4d96
commit 370926811a
2 changed files with 9 additions and 6 deletions
+1
View File
@@ -6,6 +6,7 @@ Key:
* Something changed / fixed
v0.5dev (ongoing development)
* Fix using the left key to change the ring and checkbox menu items
* sed1520: Add an option for inverted segment mapping (idea by R. Buchert)
v0.5.6