diff options
Diffstat (limited to 'src/modules/lexdict')
-rw-r--r-- | src/modules/lexdict/rawld/rawld.cpp | 2 | ||||
-rw-r--r-- | src/modules/lexdict/rawld4/rawld4.cpp | 2 | ||||
-rw-r--r-- | src/modules/lexdict/zld/zld.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/lexdict/rawld/rawld.cpp b/src/modules/lexdict/rawld/rawld.cpp index 44e8d3c..52321a4 100644 --- a/src/modules/lexdict/rawld/rawld.cpp +++ b/src/modules/lexdict/rawld/rawld.cpp @@ -92,7 +92,7 @@ char RawLD::getEntry(long away) if (!(retval = findoffset(buf, &start, &size, away))) { readtext(start, &size, &idxbuf, &entrybuf); rawFilter(entrybuf, size, 0); // hack, decipher - rawFilter(entrybuf, size, key); + rawFilter(entrybuf, size*FILTERPAD, key); entrySize = size; // support getEntrySize call if (!key->Persist()) // If we have our own key *key = idxbuf; // reset it to entry index buffer diff --git a/src/modules/lexdict/rawld4/rawld4.cpp b/src/modules/lexdict/rawld4/rawld4.cpp index a055e18..62a01f6 100644 --- a/src/modules/lexdict/rawld4/rawld4.cpp +++ b/src/modules/lexdict/rawld4/rawld4.cpp @@ -93,7 +93,7 @@ char RawLD4::getEntry(long away) if (!(retval = findoffset(buf, &start, &size, away))) { readtext(start, &size, &idxbuf, &entrybuf); rawFilter(entrybuf, size, 0); // hack, decipher - rawFilter(entrybuf, size, key); + rawFilter(entrybuf, size*FILTERPAD, key); entrySize = size; // support getEntrySize call if (!key->Persist()) // If we have our own key *key = idxbuf; // reset it to entry index buffer diff --git a/src/modules/lexdict/zld/zld.cpp b/src/modules/lexdict/zld/zld.cpp index 5be55ca..c3d7b25 100644 --- a/src/modules/lexdict/zld/zld.cpp +++ b/src/modules/lexdict/zld/zld.cpp @@ -94,7 +94,7 @@ char zLD::getEntry(long away) { entrybuf = new char [ size * FILTERPAD ]; strcpy(entrybuf, ebuf); - rawFilter(entrybuf, size, key); + rawFilter(entrybuf, size*FILTERPAD, key); entrySize = size; // support getEntrySize call if (!key->Persist()) // If we have our own key |