mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-13 04:03:16 +02:00
run modernize
This commit is contained in:
@@ -41,7 +41,7 @@ func index_byte2_string_scalar(data string, a, b byte) int {
|
||||
}
|
||||
|
||||
func index_c0_scalar(data []byte) int {
|
||||
for i := 0; i < len(data); i++ {
|
||||
for i := range data {
|
||||
if data[i] == 0x7f || data[i] < ' ' {
|
||||
return i
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user