fix ncharset issue

This commit is contained in:
kuoi 2022-01-05 08:26:59 +00:00
parent 087dc76360
commit 19f39b35b4

View file

@ -51,9 +51,9 @@ func main() {
n := v.name n := v.name
f := 1 f := 1
if k != 0 { if k != 0 {
f = sum_charset[k-1].To f = sum_charset[k-1].To + 1
} }
t := f + v.count t := f + v.count - 1
fmt.Println("[ working B ]", n, f, t) fmt.Println("[ working B ]", n, f, t)
new_charset := charset{n, f, t} new_charset := charset{n, f, t}
sum_charset = append(sum_charset, new_charset) sum_charset = append(sum_charset, new_charset)