summaryrefslogtreecommitdiff
path: root/src/setup.h
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2013-04-07 12:01:40 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2013-04-07 12:12:42 +0200
commitddadb157cfa3e1658f120341b4085ec5421ff73f (patch)
tree18d6939c52fdd1d9da01010f84419611def133f5 /src/setup.h
parent125aaf366c2ae370306f678b9c9c0b408e0d3908 (diff)
downloadcataract-ddadb157cfa3e1658f120341b4085ec5421ff73f.tar.xz
Strip unused template tags by default
If there's a tag defined but not used on replace table processing, this option determines whether it should be written in the generated file or ignored completely. Turned on by default, this will save a few bytes. Use commandline option '--debug-dont-strip-unused-tags' to turn it off, e.g. when debugging template files.
Diffstat (limited to 'src/setup.h')
-rw-r--r--src/setup.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/setup.h b/src/setup.h
index 6d5316e..1fe6a53 100644
--- a/src/setup.h
+++ b/src/setup.h
@@ -44,6 +44,7 @@ typedef struct {
gboolean verbose;
gboolean update_mode;
gboolean override_nofullsize;
+ gboolean strip_unused_tags;
gchar *setup_xml_path;
TGalleryDesign *design;