Add .txt to notes on MK6 import

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2014-10-31 23:06:38 +02:00 committed by Dirk Hohndel
parent 64f816b472
commit d4d59dadcf

3
file.c
View file

@ -487,6 +487,9 @@ int parse_txt_file(const char *filename, const char *csv)
dive->cylinder[cur_cylinder_index].gasmix.he.permille = he * 10;
cur_cylinder_index++;
lineptr = strstr(memtxt.buffer, "Dive started at");
if (lineptr)
dive->notes = strdup(lineptr);
dc = &dive->dc;
/*