1
1
Fork 1
mirror of https://github.com/go-gitea/gitea.git synced 2024-05-08 16:46:41 +02:00

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
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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