diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-10-29 20:58:24 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-10-29 20:58:24 (GMT) |
commit | cbfc7f9e6a2532f58e736c2049b32bd231efade8 (patch) | |
tree | 4fa3652470300f2b6a2fabed5a8cd6bfff4b0766 /src | |
parent | c3a164cd0e68d1d8745b8b9a7da0f160bd314ae4 (diff) | |
download | Doxygen-cbfc7f9e6a2532f58e736c2049b32bd231efade8.zip Doxygen-cbfc7f9e6a2532f58e736c2049b32bd231efade8.tar.gz Doxygen-cbfc7f9e6a2532f58e736c2049b32bd231efade8.tar.bz2 |
Fixed marker replacement for a placeholder at the end of the command
Diffstat (limited to 'src')
-rw-r--r-- | src/util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.cpp b/src/util.cpp index 69e2e0d..3218621 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -5969,9 +5969,9 @@ static QCString replaceAliasArguments(StringUnorderedSet &aliasesProcessed, bool insideMarkerId=false; int markerStart=0; auto isDigit = [](char c) { return c>='0' && c<='9'; }; - for (i=0;i<l;i++) + for (i=0;i<=l;i++) { - char c = aliasValue.at(i); + char c = i<l ? aliasValue.at(i) : '\0'; if (insideMarkerId && !isDigit(c)) // found end of a markerId { insideMarkerId = false; |