mirror of https://github.com/go-gitea/gitea.git
Fix typo in generate-emoji.go (#14570)
modifer -> modifier Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
parent
3537d80088
commit
1ea4339332
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue