summaryrefslogtreecommitdiffstats
path: root/addon/configgen/config_templ.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-12-03 19:13:07 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-12-03 19:13:07 (GMT)
commitfe67b8eb68129713327965c201f2d7226b83202f (patch)
tree485fb83c5a301dd4b0edb3c534b1f31eeb08ab1f /addon/configgen/config_templ.l
parenta30c2e3c5ea41ae1947e9893c82ed8c8b6d7c5a2 (diff)
downloadDoxygen-fe67b8eb68129713327965c201f2d7226b83202f.zip
Doxygen-fe67b8eb68129713327965c201f2d7226b83202f.tar.gz
Doxygen-fe67b8eb68129713327965c201f2d7226b83202f.tar.bz2
Release-1.2.3-20001203
Diffstat (limited to 'addon/configgen/config_templ.l')
-rw-r--r--addon/configgen/config_templ.l17
1 files changed, 17 insertions, 0 deletions
diff --git a/addon/configgen/config_templ.l b/addon/configgen/config_templ.l
index 81d4acf..6cccca9 100644
--- a/addon/configgen/config_templ.l
+++ b/addon/configgen/config_templ.l
@@ -453,6 +453,23 @@ void configStrToVal()
Config::enumValuesPerLine=cols;
}
+ if (treeViewWidthString.isEmpty())
+ {
+ Config::treeViewWidth=250;
+ }
+ else
+ {
+ bool ok;
+ int width = treeViewWidthString.toInt(&ok);
+ if (!ok || width<0 || width>1500)
+ {
+ warn_cont("Warning: argument of TREEVIEW_WIDTH is not a valid number in the range [0..1500]!\n"
+ "Using the default of 250!\n");
+ width = 250;
+ }
+ Config::treeViewWidth=width;
+ }
+
if (maxDotGraphWidthString.isEmpty())
{
Config::maxDotGraphWidth=1024;