mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core/tests: change short to int in pref.h
Simplify structure preferences by removing short. Update test cases to not do (int). Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
d5bbfac6a3
commit
4d57b52062
2 changed files with 15 additions and 15 deletions
10
core/pref.h
10
core/pref.h
|
|
@ -93,8 +93,8 @@ struct preferences {
|
|||
const char *cloud_storage_email_encoded;
|
||||
const char *cloud_storage_password;
|
||||
const char *cloud_storage_pin;
|
||||
short cloud_timeout;
|
||||
short cloud_verification_status;
|
||||
int cloud_timeout;
|
||||
int cloud_verification_status;
|
||||
bool save_password_local;
|
||||
|
||||
// ********** DiveComputer **********
|
||||
|
|
@ -181,8 +181,8 @@ struct preferences {
|
|||
enum deco_mode display_deco_mode;
|
||||
bool display_unused_tanks;
|
||||
bool ead;
|
||||
short gfhigh;
|
||||
short gflow;
|
||||
int gfhigh;
|
||||
int gflow;
|
||||
bool gf_low_at_maxdepth;
|
||||
bool hrgraph;
|
||||
bool mod;
|
||||
|
|
@ -199,7 +199,7 @@ struct preferences {
|
|||
bool show_sac;
|
||||
bool show_scr_ocpo2;
|
||||
bool tankbar;
|
||||
short vpmb_conservatism;
|
||||
int vpmb_conservatism;
|
||||
bool zoomed_plot;
|
||||
|
||||
// ********** Units **********
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue