summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-02-07 15:23:59 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2016-02-07 15:23:59 (GMT)
commit0fead5249b8ef2c3c5cbbbd712855bae877aa27b (patch)
tree62c08096f5134624ac006fcde3c226af906fa651 /src
parent83d7a98358c2b3654516b219ea931ffe4928863f (diff)
downloadDoxygen-0fead5249b8ef2c3c5cbbbd712855bae877aa27b.zip
Doxygen-0fead5249b8ef2c3c5cbbbd712855bae877aa27b.tar.gz
Doxygen-0fead5249b8ef2c3c5cbbbd712855bae877aa27b.tar.bz2
Fix for empty file name
Diffstat (limited to 'src')
-rwxr-xr-xsrc/util.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp
index fc8d5c9..592d0b2 100755
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -5358,6 +5358,7 @@ QCString escapeCharsInString(const char *name,bool allowDots,bool allowUnderscor
*/
QCString convertNameToFile(const char *name,bool allowDots,bool allowUnderscore)
{
+ if (name==0 || name[0]=='\0') return "";
static bool shortNames = Config_getBool(SHORT_NAMES);
static bool createSubdirs = Config_getBool(CREATE_SUBDIRS);
QCString result;