summaryrefslogtreecommitdiffstats
path: root/export-html.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-09 11:48:20 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-09 19:52:14 -0700
commit889cfb8116fcea67e4ec5aefac38b7d2d312b2ed (patch)
treede9dbd33bac4e2bca55fdba7ded1143f0cc68493 /export-html.cpp
parent12d75001a0f54ea760848d13abf8389a90279434 (diff)
downloadsubsurface-889cfb8116fcea67e4ec5aefac38b7d2d312b2ed.tar.gz
Fix export-html
In commit d815e0c947 ("Parse: pass dive_table argument to parse_file()") a syntax error was introduced and never caught since we don't test compile export-html on Travis. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'export-html.cpp')
-rw-r--r--export-html.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/export-html.cpp b/export-html.cpp
index 07159c16b..f66bd6909 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, &dive_table));
+ int ret = parse_file(qPrintable(source), &dive_table);
if (ret) {
fprintf(stderr, "parse_file returned %d\n", ret);
exit(1);