diff options
Diffstat (limited to 'uemis-downloader.c')
-rw-r--r-- | uemis-downloader.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/uemis-downloader.c b/uemis-downloader.c index 64fb1c6da..93d5e3997 100644 --- a/uemis-downloader.c +++ b/uemis-downloader.c @@ -877,9 +877,9 @@ const char *do_uemis_import(device_data_t *data) if (import_thread_cancelled) goto bail; param_buff[1] = "notempty"; - /* if we have an empty divelist or force it, then we start downloading from the - * first dive on the Uemis; otherwise check which was the last dive downloaded */ - if (!force_download && dive_table.nr > 0) + /* if we force it we start downloading from the first dive on the Uemis; + * otherwise check which was the last dive downloaded */ + if (!force_download) newmax = uemis_get_divenr(deviceid); else newmax = strdup("0"); |