Skip to content

Commit

Permalink
Fix for empty file name
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Feb 7, 2016
1 parent 83d7a98 commit 0fead52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0fead52

Please sign in to comment.