Stripping high bit when checking for CR. Closes #148.

This commit is contained in:
Rob Greene
2025-07-13 10:29:04 -05:00
parent dbdc73240c
commit 63918fa317
@@ -362,7 +362,7 @@ public class PascalFileEntry implements FileEntry {
private int findEOL(byte[] data, int offset) throws DiskFullException {
int i = offset + 1022;
while (i > offset) {
if (data[i] == 13) {
if ((data[i] & 0x7f) == 13) {
return i;
}
i--;