diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-02-24 18:57:25 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-02-24 18:57:25 (GMT) |
commit | c7bc295f92f56d1dea369663e058933f550a0187 (patch) | |
tree | 81d72027898b1a75221b9ca82b04075277821a9f /src/config.l | |
parent | 9793ce49f1d7641854ef0608b34c1dd2d4891a20 (diff) | |
download | Doxygen-c7bc295f92f56d1dea369663e058933f550a0187.zip Doxygen-c7bc295f92f56d1dea369663e058933f550a0187.tar.gz Doxygen-c7bc295f92f56d1dea369663e058933f550a0187.tar.bz2 |
Release-1.2.14-20020224
Diffstat (limited to 'src/config.l')
-rw-r--r-- | src/config.l | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/config.l b/src/config.l index 14db2c1..810287e 100644 --- a/src/config.l +++ b/src/config.l @@ -33,6 +33,8 @@ #include "config.h" #include "version.h" +#include "lang_cfg.h" + #undef Config_getString #undef Config_getInt #undef Config_getList @@ -969,12 +971,12 @@ void Config::check() dotImageFormat=dotImageFormat.stripWhiteSpace(); if (dotImageFormat.isEmpty()) { - dotImageFormat = "gif"; + dotImageFormat = "png"; } else if (dotImageFormat!="gif" && dotImageFormat!="png" && dotImageFormat!="jpg") { config_err("Invalid value for DOT_IMAGE_FORMAT: `%s'. Using the default.\n",dotImageFormat.data()); - dotImageFormat = "gif"; + dotImageFormat = "png"; } @@ -2265,13 +2267,13 @@ void Config::create() ce = addEnum( "DOT_IMAGE_FORMAT", "The DOT_IMAGE_FORMAT tag can be used to set the image format of the images \n" - "generated by dot. Possible values are gif, jpg, and png\n" - "If left blank gif will be used. \n", - "gif" + "generated by dot. Possible values are png, jpg, or gif\n" + "If left blank png will be used. \n", + "png" ); - ce->addValue("gif"); - ce->addValue("jpg"); ce->addValue("png"); + ce->addValue("jpg"); + ce->addValue("gif"); ce->addDependency("HAVE_DOT"); cs = addString( "DOT_PATH", |