aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/comments/rawcom/rawcom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/comments/rawcom/rawcom.cpp')
-rw-r--r--src/modules/comments/rawcom/rawcom.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/comments/rawcom/rawcom.cpp b/src/modules/comments/rawcom/rawcom.cpp
index f71b6ec..0f5396b 100644
--- a/src/modules/comments/rawcom/rawcom.cpp
+++ b/src/modules/comments/rawcom/rawcom.cpp
@@ -76,7 +76,9 @@ char *RawCom::getRawEntry() {
*entrybuf = 0;
readtext(key->Testament(), start, (size + 2), entrybuf);
+ entrybuf[size] = 0;
+ rawFilter(entrybuf, size, 0); // hack, decipher
rawFilter(entrybuf, size, key);
if (!isUnicode())