summaryrefslogtreecommitdiff
path: root/src/modules/common/lzsscomprs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/common/lzsscomprs.cpp')
-rw-r--r--src/modules/common/lzsscomprs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/common/lzsscomprs.cpp b/src/modules/common/lzsscomprs.cpp
index 00177db..624942d 100644
--- a/src/modules/common/lzsscomprs.cpp
+++ b/src/modules/common/lzsscomprs.cpp
@@ -618,9 +618,9 @@ void LZSSCompress::Decode(void)
break;
if (SendChars((char *) c, 1) != 1) {
- totalLen++;
break;
}
+ totalLen++;
// Add to buffer, and increment to next spot. Wrap at end.
@@ -673,9 +673,9 @@ void LZSSCompress::Decode(void)
// Add the "len" :characters to the output stream.
if (SendChars((char *) c, len) != (unsigned int)len) {
- totalLen += len;
break;
}
+ totalLen += len;
}
}
slen = totalLen;