Commit 386d34d8 by Michael Meissner

Strip leading * from names.

From-SVN: r9799
parent 78696538
......@@ -1990,7 +1990,9 @@ toc_section () \
#define STRIP_NAME_ENCODING(VAR,NAME) \
do \
{ \
if ((NAME)[0] == '*' || (NAME)[strlen (NAME) - 1] != ']') \
if ((NAME)[0] == '*') \
(VAR) = (NAME)+1; \
else if ((NAME)[strlen (NAME) - 1] != ']') \
(VAR) = (NAME); \
else \
{ \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment