diff options
Diffstat (limited to 'src/generators.c')
| -rw-r--r-- | src/generators.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/generators.c b/src/generators.c index a755a45..48f7c0b 100644 --- a/src/generators.c +++ b/src/generators.c @@ -427,7 +427,7 @@ write_html_album (TGallerySetup *setup, } if (in_go_up_string && strstr (buffer, "<!-- $(END_GO_UP) -->")) { in_go_up_string = FALSE; - if (! items->parent_index) + if (! items->parent_index || ! setup->show_go_up) continue; } if (in_go_up_string) { @@ -520,7 +520,7 @@ write_html_album (TGallerySetup *setup, } /* Select apropriate line buffer */ - if (strstr (buffer, "<!-- $(END_GO_UP) -->") && items->parent_index) { + if (strstr (buffer, "<!-- $(END_GO_UP) -->") && items->parent_index && setup->show_go_up) { b = strdup (buf_go_up_string); } else b = strdup (buffer); |
