diff options
-rw-r--r-- | file.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; /* |