aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/genbook
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/genbook')
-rw-r--r--src/modules/genbook/rawgenbook/rawgenbook.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/genbook/rawgenbook/rawgenbook.cpp b/src/modules/genbook/rawgenbook/rawgenbook.cpp
index 46be783..f576a4a 100644
--- a/src/modules/genbook/rawgenbook/rawgenbook.cpp
+++ b/src/modules/genbook/rawgenbook/rawgenbook.cpp
@@ -117,7 +117,7 @@ char *RawGenBook::getRawEntry() {
entryBuf[size] = 0;
rawFilter(entryBuf, size, 0); // hack, decipher
- rawFilter(entryBuf, size, key);
+ rawFilter(entryBuf, size*FILTERPAD, key);
if (!isUnicode())
RawStr::preptext(entryBuf);