diff options
author | albert-github <albert.tests@gmail.com> | 2018-02-02 13:12:04 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-02-02 13:12:04 (GMT) |
commit | 2609f6f49763fd75e5c529788795a07f6559b954 (patch) | |
tree | 830b40920e1fbe366302d503a8568dd549778c16 /src/index.cpp | |
parent | a1474373a0be8b099a2458b9c02d19e191e457e7 (diff) | |
download | Doxygen-2609f6f49763fd75e5c529788795a07f6559b954.zip Doxygen-2609f6f49763fd75e5c529788795a07f6559b954.tar.gz Doxygen-2609f6f49763fd75e5c529788795a07f6559b954.tar.bz2 |
Bug 792935 - error: Could not open file .../doc/html/functions_ .html for writing
Labels are used internally in pages but also for filenames and not all file systems can cope with all characters, so only ASCII printable characters are left untouched.
Diffstat (limited to 'src/index.cpp')
-rw-r--r-- | src/index.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/index.cpp b/src/index.cpp index bfa4954..24c0290 100644 --- a/src/index.cpp +++ b/src/index.cpp @@ -1638,10 +1638,15 @@ static void writeAnnotatedClassList(OutputList &ol) ol.endIndexList(); } +inline bool isId1(int c) +{ + return (c<127 && c>31); // printable ASCII character +} + static QCString letterToLabel(uint startLetter) { char s[11]; // max 0x12345678 + '\0' - if (isId(startLetter)) // printable ASCII character + if (isId1(startLetter)) // printable ASCII character { s[0]=(char)startLetter; s[1]=0; |