From d815e0c9476ef62e6b84fb28ce48ab7cddefe77e Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sat, 18 Aug 2018 15:06:15 +0200 Subject: Parse: pass dive_table argument to parse_file() To enable undo of divelog-importing it is crucial that parse_file() can parse into arbitrary dive tables. Signed-off-by: Berthold Stoeger --- export-html.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'export-html.cpp') diff --git a/export-html.cpp b/export-html.cpp index 2371d5551..07159c16b 100644 --- a/export-html.cpp +++ b/export-html.cpp @@ -41,7 +41,7 @@ int main(int argc, char **argv) qDebug() << "need --source and --output"; exit(1); } - int ret = parse_file(qPrintable(source)); + int ret = parse_file(qPrintable(source, &dive_table)); if (ret) { fprintf(stderr, "parse_file returned %d\n", ret); exit(1); -- cgit v1.2.3-70-g09d2