aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/common/rawverse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/common/rawverse.cpp')
-rw-r--r--src/modules/common/rawverse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/common/rawverse.cpp b/src/modules/common/rawverse.cpp
index f77fbe5..60b050b 100644
--- a/src/modules/common/rawverse.cpp
+++ b/src/modules/common/rawverse.cpp
@@ -199,7 +199,7 @@ void RawVerse::preptext(char *buf)
*/
void RawVerse::readtext(char testmt, long start, unsigned short size, char *buf) {
- memset(buf, 0, size+1);
+ memset(buf, 0, size);
if (!testmt)
testmt = ((idxfp[1]) ? 1:2);
if (size) {