diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2021-04-25 19:25:21 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2021-04-25 19:25:21 (GMT) |
commit | 51316839084c3292a8fb216e73ed146683028d4a (patch) | |
tree | 61ac538a11755730f34c4c46a73c2b53cc48313e /src/markdown.cpp | |
parent | 3d982273aafcb89563acfbcb15c65759c8ebe233 (diff) | |
download | Doxygen-51316839084c3292a8fb216e73ed146683028d4a.zip Doxygen-51316839084c3292a8fb216e73ed146683028d4a.tar.gz Doxygen-51316839084c3292a8fb216e73ed146683028d4a.tar.bz2 |
Fix issue with test 055 on Cygwin
- stored value was overwritten probably due to compiler optimisation bug
Diffstat (limited to 'src/markdown.cpp')
-rw-r--r-- | src/markdown.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp index 8426c36..4627e73 100644 --- a/src/markdown.cpp +++ b/src/markdown.cpp @@ -265,9 +265,7 @@ static void convertStringFragment(QCString &result,const char *data,int size) { TRACE(result); if (size<0) size=0; - result.resize(size+1); - memcpy(result.rawData(),data,size); - result.at(size)='\0'; + result = QCString(data,(uint)size); } /** helper function to convert presence of left and/or right alignment markers |