mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Make exporting photos with HTML optional
This adds the ability to choose either to export photos or not. Patch is attached. -- regards, Gehad From 6476e1227b72d8297f9aecc2e6cc6f70d07f87ae Mon Sep 17 00:00:00 2001 From: Gehad elrobey <gehadelrobey@gmail.com> Date: Fri, 13 Mar 2015 15:31:24 +0200 Subject: [PATCH] Make exporting photos with HTML optional Add the option to enable/disable exporting photos with the HTML. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7e7cddde8a
commit
ec202890b7
3 changed files with 58 additions and 17 deletions
|
@ -329,7 +329,7 @@ void write_one_dive(struct membuffer *b, struct dive *dive, const char *photos_d
|
|||
put_HTML_samples(b, dive);
|
||||
put_HTML_bookmarks(b, dive);
|
||||
write_dive_status(b, dive);
|
||||
if (photos_dir)
|
||||
if (photos_dir && strcmp(photos_dir, ""))
|
||||
save_photos(b, photos_dir, dive);
|
||||
write_divecomputers(b, dive);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue