Moved glue sniffing below pie number select

This commit is contained in:
Willem Cazander 2024-12-26 03:38:43 +01:00
parent 5d806130f2
commit 6fd9e4e273

View file

@ -235,9 +235,6 @@ public enum CDC1604DashP6 {
if (numberMode != null && (cdcPoint.ordinal() < CDC1604DashP6.NX01_A.ordinal())) { if (numberMode != null && (cdcPoint.ordinal() < CDC1604DashP6.NX01_A.ordinal())) {
numberMode = null; // below index 1 is end number mode numberMode = null; // below index 1 is end number mode
} }
if (CDC1604DashP6.__GLUE.equals(cdcPoint)) {
continue;
}
if (CDC1604DashP6.__PIE.equals(cdcPoint)) { if (CDC1604DashP6.__PIE.equals(cdcPoint)) {
if (!cdc.hasNext()) { if (!cdc.hasNext()) {
break; break;
@ -250,6 +247,9 @@ public enum CDC1604DashP6 {
continue; continue;
} }
} }
if (CDC1604DashP6.__GLUE.equals(cdcPoint)) {
continue;
}
if (numberMode == null) { if (numberMode == null) {
buf.appendCodePoint(cdcPoint.asciiByte()); buf.appendCodePoint(cdcPoint.asciiByte());
} else { } else {