fine tune logic

This commit is contained in:
func25 2024-09-04 20:42:30 +07:00
parent e74a06dc05
commit 20466b9147
No known key found for this signature in database
GPG key ID: 746D8D0E266CD0E5

View file

@ -223,7 +223,7 @@ func calcFlagsI(re *Regexp) (must, cant printFlags) {
inside += int(hi - lo + 1)
outside += int(lo - pre)
pre = max(minFold, hi)
pre = max(minFold, hi+1)
}
outside += int(maxFold - pre)