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

modifer -> modifier

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
Ikko Ashimine 2021-02-05 02:57:42 +09:00 committed by GitHub
parent 3537d80088
commit 1ea4339332
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -174,7 +174,7 @@ func generate() ([]byte, error) {
s = append(s, k) s = append(s, k)
} else { } else {
// insert into slice after first element because all emoji that support skin tones // 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, "") s = append(s, "")
copy(s[2:], s[1:]) copy(s[2:], s[1:])
s[1] = k s[1] = k