mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-21 16:05:02 +02:00
...
This commit is contained in:
@@ -116,7 +116,9 @@ func (self *Patcher) update_delta(data []byte) (consumed int, err error) {
|
||||
if err = self.rsync.ApplyDelta(self.delta_output, self.delta_input, op); err != nil {
|
||||
return
|
||||
}
|
||||
self.total_data_in_delta += len(op.Data)
|
||||
if op.Type == OpData {
|
||||
self.total_data_in_delta += len(op.Data)
|
||||
}
|
||||
} else {
|
||||
if n < 0 {
|
||||
return consumed, nil
|
||||
|
||||
Reference in New Issue
Block a user