aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/texts/rawtext
diff options
context:
space:
mode:
authordanglassey <danglassey>2002-09-26 13:02:15 +0000
committerdanglassey <danglassey>2002-09-26 13:02:15 +0000
commit08e1f7422791a20b5415aa62475c1d50cbf0dc74 (patch)
tree1b89bf2bb9d60aeabfdbf59cb562169dea758d57 /src/modules/texts/rawtext
parentb9c0a030bd400137de3b704a0634be3b9899f858 (diff)
downloadsword-sf-cvs-08e1f7422791a20b5415aa62475c1d50cbf0dc74.tar.gz
sync with crosswire 20020926-1300
Diffstat (limited to 'src/modules/texts/rawtext')
-rw-r--r--src/modules/texts/rawtext/rawtext.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/texts/rawtext/rawtext.cpp b/src/modules/texts/rawtext/rawtext.cpp
index cfaaa37..489ea1c 100644
--- a/src/modules/texts/rawtext/rawtext.cpp
+++ b/src/modules/texts/rawtext/rawtext.cpp
@@ -105,10 +105,12 @@ char *RawText::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())
+ if (!isUnicode())
preptext(entrybuf);
if (this->key != key) // free our key if we created a VerseKey