1
0
mirror of https://github.com/m00natic/vlfi.git synced 2024-10-05 18:30:51 +01:00

Fix detection of good chunk start.

This commit is contained in:
Andrey Kotlarski 2014-01-07 13:57:17 +02:00
parent 9343095096
commit 47c154cc1f

View File

@ -253,7 +253,7 @@ Return number of bytes moved back for proper decoding."
buffer-file-coding-system t)))))
(if strict
(not (zerop diff))
(or (< diff 0) (< 3 diff)))))
(or (< diff -3) (< 0 diff)))))
(setq shift (1+ shift)
safe-start (1- safe-start)
chunk-size (1+ chunk-size))