X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=parse-xml.c;h=5159a334f9153f65b010f0e1cf5c4845cebcf530;hb=c89f88378a0a19d6b7e0771b6fd8dc31acfaf2f7;hp=00538dad93a07f5dc15897a7467eb5b86c5b2a4b;hpb=e315abf645bbca8eb3cee7d6688db8b088c14cba;p=ext%2Fsubsurface.git diff --git a/parse-xml.c b/parse-xml.c index 00538da..5159a33 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -41,7 +41,7 @@ void record_dive(struct dive *dive) void record_trip(struct dive *trip) { - dive_trip_list = INSERT_TRIP(trip, dive_trip_list); + dive_trip_list = insert_trip(trip, dive_trip_list); } static void delete_dive_renumber(struct dive **dives, int i, int nr) @@ -1480,8 +1480,8 @@ void parse_xml_buffer(const char *url, const char *buffer, int size, GError **er } return; } - /* we assume that the last (or only) filename passed as argument is a - * great filename to use as default when saving the dives */ + /* we assume that the last (or only) filename passed as argument is a + * great filename to use as default when saving the dives */ set_filename(url); reset_all(); dive_start();