summaryrefslogtreecommitdiffstats
path: root/core/save-html.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/save-html.c')
-rw-r--r--core/save-html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/save-html.c b/core/save-html.c
index 5902a8a71..d5f472058 100644
--- a/core/save-html.c
+++ b/core/save-html.c
@@ -344,7 +344,7 @@ void put_HTML_tags(struct membuffer *b, struct dive *dive, const char *pre, cons
}
/* if exporting list_only mode, we neglect exporting the samples, bookmarks and cylinders */
-void write_one_dive(struct membuffer *b, struct dive *dive, const char *photos_dir, int *dive_no, const bool list_only)
+void write_one_dive(struct membuffer *b, struct dive *dive, const char *photos_dir, int *dive_no, bool list_only)
{
put_string(b, "{");
put_format(b, "\"number\":%d,", *dive_no);