summaryrefslogtreecommitdiffstats
path: root/core/file.c
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2016-05-05 09:26:10 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-05-05 07:27:31 -0700
commit74065ad8aabb0b43bb70df9ab3cc319dc21f9430 (patch)
tree7310cf28677d2592699abc8bbfa5e45c18231119 /core/file.c
parentb2d2d13650b4536b70cddbfc0f7946821c7843e4 (diff)
downloadsubsurface-74065ad8aabb0b43bb70df9ab3cc319dc21f9430.tar.gz
Allow parsing of .txt files on import
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/file.c')
-rw-r--r--core/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/file.c b/core/file.c
index b9da21fb2..3e8041878 100644
--- a/core/file.c
+++ b/core/file.c
@@ -884,7 +884,7 @@ int parse_txt_file(const char *filename, const char *csv)
record_dive(dive);
return 1;
} else {
- return report_error(translate("gettextFromC", "No matching DC found for file '%s'"), csv);
+ return 0;
}
return 0;