diff options
Diffstat (limited to 'subsurfacestartup.c')
-rw-r--r-- | subsurfacestartup.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/subsurfacestartup.c b/subsurfacestartup.c index 0722e954e..886365a16 100644 --- a/subsurfacestartup.c +++ b/subsurfacestartup.c @@ -1,5 +1,5 @@ #include "subsurfacestartup.h" -#include "ssrf-version.h" +#include "version.h" #include <stdbool.h> #include <string.h> #include "gettext.h" @@ -7,6 +7,7 @@ struct preferences prefs; struct preferences default_prefs = { .units = SI_UNITS, .unit_system = METRIC, + .coordinates_traditional = true, .pp_graphs = { .po2 = false, .pn2 = false, @@ -45,8 +46,16 @@ struct preferences default_prefs = { .decopo2 = 1600, .doo2breaks = false, .drop_stone_mode = false, + .last_stop = false, + .verbatim_plan = false, + .display_runtime = true, + .display_duration = true, + .display_transitions = true, + .recreational_mode = false, + .safetystop = true, .bottomsac = 20000, .decosac = 17000, + .reserve_gas=40000, .o2consumption = 720, .pscr_ratio = 100, .show_pictures_in_profile = true, @@ -110,7 +119,7 @@ bool imported = false; static void print_version() { - printf("Subsurface v%s, ", GIT_VERSION_STRING); + printf("Subsurface v%s, ", subsurface_git_version()); printf("built with libdivecomputer v%s\n", dc_version(NULL)); } |