summaryrefslogtreecommitdiffstats
path: root/src/htmlgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-10-25 17:09:31 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-10-25 17:09:31 (GMT)
commita31c9fffec6b5145ac8509d77da826d2e196ed1e (patch)
tree87498442016dfae3727b3e34c31feef1ca21cac6 /src/htmlgen.cpp
parent79ed06502c3abca083f2e231f09fc8101862fcf6 (diff)
downloadDoxygen-a31c9fffec6b5145ac8509d77da826d2e196ed1e.zip
Doxygen-a31c9fffec6b5145ac8509d77da826d2e196ed1e.tar.gz
Doxygen-a31c9fffec6b5145ac8509d77da826d2e196ed1e.tar.bz2
Compilation fixes for Windows for new string implementation.
Diffstat (limited to 'src/htmlgen.cpp')
-rw-r--r--src/htmlgen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp
index b459446..1ee3c16 100644
--- a/src/htmlgen.cpp
+++ b/src/htmlgen.cpp
@@ -1311,8 +1311,8 @@ void HtmlCodeGenerator::writeLineNumber(const char *ref,const char *filename,
const int maxLineNrStr = 10;
char lineNumber[maxLineNrStr];
char lineAnchor[maxLineNrStr];
- snprintf(lineNumber,maxLineNrStr,"%5d",l);
- snprintf(lineAnchor,maxLineNrStr,"l%05d",l);
+ qsnprintf(lineNumber,maxLineNrStr,"%5d",l);
+ qsnprintf(lineAnchor,maxLineNrStr,"l%05d",l);
m_t << "<div class=\"line\">";
m_t << "<a name=\"" << lineAnchor << "\"></a><span class=\"lineno\">";