Correctly disable all animations

This seems to be needed for the correct print of the profile,
What was happening on the print code was that the profile even in print
mode was doing animations, and we were getting a frame of it and trying to
print it.

Also, a bit of code cleanup.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2014-07-11 18:55:33 -03:00 committed by Dirk Hohndel
parent 3fa908b242
commit 2171b981ac
6 changed files with 36 additions and 19 deletions

2
pref.h
View file

@ -35,7 +35,7 @@ struct preferences {
short calcndltts;
short gflow;
short gfhigh;
short animation;
bool animation;
bool gf_low_at_maxdepth;
short display_invalid_dives;
short unit_system;