X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=main.c;h=d259b388888214bf9b3defdb1f88dcbe8ad364e0;hb=f4820455e2019c1a9deba7e90ed7f06111a4cb39;hp=ef6212ae234fd5a19ac41240f38d7ac49675f990;hpb=705d561bb1400e603721582b82d53f38315f7bf3;p=ext%2Fsubsurface.git diff --git a/main.c b/main.c index ef6212a..d259b38 100644 --- a/main.c +++ b/main.c @@ -76,6 +76,8 @@ void report_dives(void) /* Redo the new 'i'th dive */ i--; } + + dive_list_update_dives(); } static void parse_argument(const char *arg) @@ -126,6 +128,7 @@ int main(int argc, char **argv) int i; output_units = SI_units; + parse_xml_init(); init_ui(argc, argv); @@ -149,7 +152,6 @@ int main(int argc, char **argv) } report_dives(); - dive_list_update_dives(); run_ui(); return 0;