| Previous | 15994 Revisions | Next |
| r13365 Thursday 24th November, 2011 at 16:32:30 UTC by Miodrag Milanović |
|---|
| Fixed image loading for apple2 in cases with tolerated extra bytes [Chad] |
| [src/lib/formats] | ap2_dsk.c |
| r13364 | r13365 | |
|---|---|---|
| 139 | 139 | |
| 140 | 140 | if (size == expected_size) |
| 141 | 141 | *vote = 100; |
| 142 | else if (size - expected_size < | |
| 142 | else if (abs(size - expected_size) < | |
| 143 | 143 | *vote = 90; /* tolerate images with up to eight fewer/extra bytes (bug #638) */ |
| 144 | 144 | else |
| 145 | 145 | *vote = 0; |
| Previous | 15994 Revisions | Next |