Change prefs.show_units_table to bool

Bool is the correct choice for this option.
int was used before because it was not clear to me how and if I can use
bool in this C file.

Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
Stefan Fuchs 2017-11-21 15:52:01 +01:00 committed by Dirk Hohndel
parent 178dcbc0c6
commit bd88306722
4 changed files with 15 additions and 13 deletions

View file

@ -9,6 +9,8 @@
#ifdef __cplusplus
extern "C" {
#else
#include <stdbool.h>
#endif
#define O2_IN_AIR 209 // permille
@ -263,7 +265,7 @@ struct units {
MINUTES_ONLY,
ALWAYS_HOURS
} duration_units;
int show_units_table;
bool show_units_table;
};
/*