dfsm: Disallow negative timeouts for arbitrary transitions
authorPhilip Withnall <philip@tecnocode.co.uk>
Wed, 25 Apr 2012 22:20:16 +0000 (23:20 +0100)
committerPhilip Withnall <philip@tecnocode.co.uk>
Wed, 25 Apr 2012 22:20:16 +0000 (23:20 +0100)
commit78ba8b22e4eba0cec5146f421744e98dfcf744b5
treef868b49fa67a13c988d09e40f6ffcc4256e4c7a4
parent83f121b035e48f4a6f3c112692c374e424726737
dfsm: Disallow negative timeouts for arbitrary transitions

There’s a non-zero probability that the normal distribution we use could
generate a negative timeout. As much as I would desire to be able to go back
in time, it probably wouldn’t make GLib very happy. For one thing, Bendy
Buses can’t reach 88mph.

Therefore, we take the absolute value of timeouts.
dfsm/dfsm-object.c