summaryrefslogtreecommitdiffstats
path: root/qtools/scstring.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-12-13 18:59:17 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-12-13 18:59:17 (GMT)
commitd048df9811a8686d93dc28f275a1c5c575833669 (patch)
tree024124085a492939d5ad3d3b60fbac43f928b925 /qtools/scstring.cpp
parent71de527ef4ec4b221eecfe02450548390fc03cf4 (diff)
downloadDoxygen-d048df9811a8686d93dc28f275a1c5c575833669.zip
Doxygen-d048df9811a8686d93dc28f275a1c5c575833669.tar.gz
Doxygen-d048df9811a8686d93dc28f275a1c5c575833669.tar.bz2
Release-1.3.9.1-20041213
Diffstat (limited to 'qtools/scstring.cpp')
-rw-r--r--qtools/scstring.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtools/scstring.cpp b/qtools/scstring.cpp
index ebf54a9..a265afe 100644
--- a/qtools/scstring.cpp
+++ b/qtools/scstring.cpp
@@ -34,7 +34,7 @@ SCString::SCString(int size)
m_data = (char *)malloc(size);
if (m_data)
{
- m_data[0]='\0';
+ if (size>1) memset(m_data,' ',size-1);
m_data[size-1]='\0';
}
}