mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2026-04-25 04:19:41 +00:00
Stripping high bit when checking for CR. Closes #148.
This commit is contained in:
+1
-1
@@ -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--;
|
||||
|
||||
Reference in New Issue
Block a user