mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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:
parent
64f816b472
commit
d4d59dadcf
1 changed files with 3 additions and 0 deletions
3
file.c
3
file.c
|
@ -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;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue