Browse Source

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

modifer -> modifier

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
tags/v1.15.0-dev
Ikko Ashimine 3 years ago
parent
commit
1ea4339332
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      build/generate-emoji.go

+ 1
- 1
build/generate-emoji.go 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

Loading…
Cancel
Save