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:
1 parent
7b316f4d96
commit
370926811a
2 files changed
+9
-6
Reference in new issue
Block a user