From 65eefe7b599575bf401c0adc9c61e42bc56fc4c9 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 21 Jul 2014 19:10:31 -0300 Subject: Animation speed is a value, not a boolean This breaks compatibility with old preferences, but it's a single key and not that very important so I don't think it's a bigger issue I've renamed prefs.animation to prefs.animation_speed to denote that it's a value, and not a state. Also, fixed the places that were treating it as a state (on/off) to treat it like a correct value. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- pref.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pref.h') diff --git a/pref.h b/pref.h index bf153f538..7292f1363 100644 --- a/pref.h +++ b/pref.h @@ -35,7 +35,7 @@ struct preferences { short calcndltts; short gflow; short gfhigh; - bool animation; + int animation_speed; bool gf_low_at_maxdepth; short display_invalid_dives; short unit_system; -- cgit v1.2.3-70-g09d2