summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-05-31 18:01:35 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-05-31 18:01:35 (GMT)
commita54f69806ff14035cc057325a4decb3d21cc31b1 (patch)
treeb2f345c1e6610c8aaa59360df65256f5d798a70b
parentb265433382b93625b75cbc1f10b0509489b0b6b7 (diff)
parent04035ff49d3e59996bdf7dca9685c8cdaf8a61de (diff)
downloadDoxygen-a54f69806ff14035cc057325a4decb3d21cc31b1.zip
Doxygen-a54f69806ff14035cc057325a4decb3d21cc31b1.tar.gz
Doxygen-a54f69806ff14035cc057325a4decb3d21cc31b1.tar.bz2
Merge branch 'master' of github.com:doxygen/doxygen
-rw-r--r--src/configimpl.l5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/configimpl.l b/src/configimpl.l
index d07e25c..da94484 100644
--- a/src/configimpl.l
+++ b/src/configimpl.l
@@ -234,6 +234,11 @@ void ConfigBool::convertStrToVal()
void ConfigEnum::convertStrToVal()
{
+ if (m_value.isEmpty())
+ {
+ m_value = m_defValue;
+ return;
+ }
QCString val = m_value.stripWhiteSpace().lower();
const char *s=m_valueRange.first();
while (s)