Skip to content

Commit

Permalink
Fix typo in generate-emoji.go (#14570)
Browse files Browse the repository at this point in the history
modifer -> modifier

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
  • Loading branch information
eltociear and techknowlogick committed Feb 4, 2021
1 parent 3537d80 commit 1ea4339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/generate-emoji.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1ea4339

Please sign in to comment.