diff options
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", |