瀏覽代碼

fx: 匹配类别汇聚时修正

master
SisMaker 4 年之前
父節點
當前提交
19bf571b06
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/eAcs.erl

+ 1
- 1
src/eAcs.erl 查看文件

@ -237,7 +237,7 @@ dealMatchList([{_OldByteIndex, OldMatchWordCnt, OldWordIndex} | LeftMatchList] =
CurStartIndex = CurWordIndex - MatchWordCnt,
OldStartIndex = OldWordIndex - OldMatchWordCnt,
if
CurStartIndex > OldWordIndex + 1 ->
CurStartIndex >= OldWordIndex + 1 ->
[{CurByteIndex, MatchWordCnt, CurWordIndex} | OldMatchList];
CurStartIndex >= OldStartIndex ->
[{CurByteIndex, CurWordIndex - OldStartIndex, CurWordIndex} | LeftMatchList];

Loading…
取消
儲存