diff options
author | danglassey <danglassey> | 2002-09-26 13:02:15 +0000 |
---|---|---|
committer | danglassey <danglassey> | 2002-09-26 13:02:15 +0000 |
commit | 08e1f7422791a20b5415aa62475c1d50cbf0dc74 (patch) | |
tree | 1b89bf2bb9d60aeabfdbf59cb562169dea758d57 /src/modules/texts/rawtext | |
parent | b9c0a030bd400137de3b704a0634be3b9899f858 (diff) | |
download | sword-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.cpp | 4 |
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 |