mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 12:22:34 +00:00
fix eci w/o priority charset setting
This commit is contained in:
@@ -1302,7 +1302,7 @@ impl RXingResult {
|
||||
size += Self::prepend(&Edge::getBytes1(254), &mut bytesAL);
|
||||
}
|
||||
let mut hold_current = Some(solution.clone());
|
||||
while let Some(current) = hold_current {
|
||||
while let Some(current) = hold_current { // Fails on i = 77 should be 151 is 144
|
||||
size += Self::prepend(¤t.getDataBytes()?, &mut bytesAL);
|
||||
|
||||
if current.previous.is_none()
|
||||
@@ -1320,9 +1320,7 @@ impl RXingResult {
|
||||
randomizePostfixLength.push(bytesAL.len());
|
||||
randomizeLengths.push(size);
|
||||
}
|
||||
//if Edge::getPreviousStartMode(current.previous.clone()) != current.getMode() {
|
||||
Self::prepend(¤t.getLatchBytes()?, &mut bytesAL);
|
||||
//}
|
||||
size = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user