summaryrefslogtreecommitdiffstats
path: root/src/main/java/org
diff options
context:
space:
mode:
authorCGantert345 <57003061+CGantert345@users.noreply.github.com>2023-03-09 16:42:10 +0100
committerCGantert345 <57003061+CGantert345@users.noreply.github.com>2023-03-09 16:42:10 +0100
commit4fd2a0668c1630d65a10f602647e9569954ece21 (patch)
tree3a0a5b90151e8fe4109e7132bf6012196d5c3bd9 /src/main/java/org
parentMerge pull request #57 from UnionInternationalCheminsdeFer/1.3.5 (diff)
downloadUIC-barcode-4fd2a0668c1630d65a10f602647e9569954ece21.tar
UIC-barcode-4fd2a0668c1630d65a10f602647e9569954ece21.tar.gz
UIC-barcode-4fd2a0668c1630d65a10f602647e9569954ece21.tar.bz2
UIC-barcode-4fd2a0668c1630d65a10f602647e9569954ece21.tar.lz
UIC-barcode-4fd2a0668c1630d65a10f602647e9569954ece21.tar.xz
UIC-barcode-4fd2a0668c1630d65a10f602647e9569954ece21.tar.zst
UIC-barcode-4fd2a0668c1630d65a10f602647e9569954ece21.zip
Diffstat (limited to '')
-rw-r--r--src/main/java/org/uic/barcode/staticFrame/StaticFrame.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/uic/barcode/staticFrame/StaticFrame.java b/src/main/java/org/uic/barcode/staticFrame/StaticFrame.java
index 8dc1adb..30bbe3f 100644
--- a/src/main/java/org/uic/barcode/staticFrame/StaticFrame.java
+++ b/src/main/java/org/uic/barcode/staticFrame/StaticFrame.java
@@ -506,7 +506,7 @@ public class StaticFrame {
inflater.setInput(inflaterInput);
while (!inflater.finished()) {
int count = inflater.inflate(inflatedDataBuffer,0,2000);
- if (inflater.needsDictionary()) {
+ if (inflater.needsDictionary() || count == 0) {
break;
}
outputStream.write(inflatedDataBuffer, 0, count);