summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-03-19 15:34:33 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2016-03-19 15:34:33 (GMT)
commit968ad0f144af6a7d411e1e909b0dc8d76472f363 (patch)
tree56a4ddf6076204cab74fb214329ed9214079d8aa /src
parentb6b87054121422009f2d5316a279869faaa33d16 (diff)
parent593eb3ac5b2c03d1c3b524a8436cee9a80685ec7 (diff)
downloadDoxygen-968ad0f144af6a7d411e1e909b0dc8d76472f363.zip
Doxygen-968ad0f144af6a7d411e1e909b0dc8d76472f363.tar.gz
Doxygen-968ad0f144af6a7d411e1e909b0dc8d76472f363.tar.bz2
Merge branch 'master' of github.com:doxygen/doxygen
Diffstat (limited to 'src')
-rw-r--r--src/definition.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/definition.cpp b/src/definition.cpp
index fe1a6b3..c585301 100644
--- a/src/definition.cpp
+++ b/src/definition.cpp
@@ -878,6 +878,7 @@ bool readCodeFragment(const char *fileName,
}
}
result = transcodeCharacterStringToUTF8(result);
+ if (!result.isEmpty() && result.at(result.length()-1)!='\n') result += "\n";
//fprintf(stderr,"readCodeFragement(%d-%d)=%s\n",startLine,endLine,result.data());
return found;
}