Fix typo in generate-emoji.go (#14570)

modifer -> modifier

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
tokarchuk/v1.17
Ikko Ashimine 4 years ago committed by GitHub
parent 3537d80088
commit 1ea4339332
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      build/generate-emoji.go

@ -174,7 +174,7 @@ func generate() ([]byte, error) {
s = append(s, k)
} else {
// insert into slice after first element because all emoji that support skin tones
// have that modifer placed at this spot
// have that modifier placed at this spot
s = append(s, "")
copy(s[2:], s[1:])
s[1] = k

Loading…
Cancel
Save