ref: 35741285dbdd48bc505bb23b6caaa204bda855e9
parent: f8f84686614af41b844756563271bf45c5f1d9b9
author: cancel <cancel@cancel.fm>
date: Sun Jan 26 01:49:22 EST 2020
Remove redundant parens
--- a/sim.c
+++ b/sim.c
@@ -714,9 +714,8 @@
rate = (Isz)index_of(g);
Isz target = (Isz)index_of(PEEK(0, 1));
Isz val = (Isz)index_of(PEEK(1, 0));
- Isz mod = (val <= target - rate)
- ? rate
- : ((val >= target + rate) ? -rate : target - val);
+ Isz mod =
+ val <= target - rate ? rate : val >= target + rate ? -rate : target - val;
POKE(1, 0, glyph_of((Usz)(val + mod)));
END_OPERATOR