aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/filters/latin1utf8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/filters/latin1utf8.cpp')
-rw-r--r--src/modules/filters/latin1utf8.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/filters/latin1utf8.cpp b/src/modules/filters/latin1utf8.cpp
index 5d3daba..2bcbb22 100644
--- a/src/modules/filters/latin1utf8.cpp
+++ b/src/modules/filters/latin1utf8.cpp
@@ -23,8 +23,6 @@ char Latin1UTF8::ProcessText(char *text, int maxlen, const SWKey *key, const SWM
if ((unsigned long)key < 2) // hack, we're en(1)/de(0)ciphering
return -1;
len = strlen(text) + 1;
- if (len == maxlen + 1)
- maxlen = (maxlen + 1) * FILTERPAD;
// shift string to right of buffer
if (len < maxlen) {
memmove(&text[maxlen - len], text, len);