summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-06-18 18:58:33 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-06-18 18:58:33 (GMT)
commit0e147cfa77992dc2df0f7cb557b17a217146e676 (patch)
tree1a5886654494fbafd093dc0a2c4fb2312c8703ff /src
parent07d8a4eecd726ab7343ad2768cffe23183575c19 (diff)
downloadDoxygen-0e147cfa77992dc2df0f7cb557b17a217146e676.zip
Doxygen-0e147cfa77992dc2df0f7cb557b17a217146e676.tar.gz
Doxygen-0e147cfa77992dc2df0f7cb557b17a217146e676.tar.bz2
Bug 702590 - Crash with TAB_SIZE=-1
Diffstat (limited to 'src')
-rw-r--r--src/config.l5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/config.l b/src/config.l
index 58717ab..546debd 100644
--- a/src/config.l
+++ b/src/config.l
@@ -183,7 +183,10 @@ void ConfigInt::convertStrToVal()
config_warn("Warning: argument `%s' for option %s is not a valid number in the range [%d..%d]!\n"
"Using the default: %d!\n",m_valueString.data(),m_name.data(),m_minVal,m_maxVal,m_value);
}
- m_value=val;
+ else
+ {
+ m_value=val;
+ }
}
}