Changeset e8b4603 in subsurface


Ignore:
Timestamp:
Jul 9, 2017, 4:29:16 PM (2 weeks ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
c59a740
Parents:
e6c2b145
Message:

Tell user if we reached a dive that was already there

This way it's more obvious why no dives were downloaded.

Signed-off-by: Dirk Hohndel <dirk@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/libdivecomputer.c

    re6c2b145 re8b4603  
    808808
    809809        /* If we already saw this dive, abort. */
    810         if (!devdata->force_download && find_dive(&dive->dc))
     810        if (!devdata->force_download && find_dive(&dive->dc)) {
     811                const char *date_string = get_dive_date_c_string(dive->when);
     812                dev_info(devdata, translate("gettextFromC", "Already downloaded dive at %s"), date_string);
    811813                goto error_exit;
     814        }
    812815
    813816        dc_parser_destroy(parser);
Note: See TracChangeset for help on using the changeset viewer.