| 20 | #include "filebrowser.h" |
| 21 | |
| 22 | static int readInt2(MFILE *f) { |
| 23 | int res = 0; |
| 24 | int c = memfgetc(f); |
| 25 | if (c == MEOF) |
| 26 | return -1; |
| 27 | res = c; |
| 28 | c = memfgetc(f); |
| 29 | if (c == MEOF) |
| 30 | return -1; |
| 31 | return c + (res << 8); |
| 32 | } |
| 33 | |
| 34 | static int readInt3(MFILE *f) { |
| 35 | int res = 0; |
no test coverage detected