diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-06-03 11:24:18 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-06-03 11:24:18 -0700 |
commit | 6cf073c11705cf576c3b7618a32ae121eaf14579 (patch) | |
tree | 011d9400229a207f2891709e9d3b82f7fa97cd80 | |
parent | 0dd423a89305e040ed20a8f449203ef091507790 (diff) | |
download | xorg-lib-libXft-6cf073c11705cf576c3b7618a32ae121eaf14579.tar.gz |
Fix spelling/wording issues
Found by using:
codespell --builtin clear,rare,usage,informal,code,names
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | src/xftint.h | 2 | ||||
-rw-r--r-- | src/xftrender.c | 12 |
3 files changed, 8 insertions, 8 deletions
@@ -18,7 +18,7 @@ Xorg mailing list: https://lists.x.org/mailman/listinfo/xorg -The master development code repository can be found at: +The primary development code repository can be found at: https://gitlab.freedesktop.org/xorg/lib/libXft diff --git a/src/xftint.h b/src/xftint.h index ced9a02..a8400de 100644 --- a/src/xftint.h +++ b/src/xftint.h @@ -88,7 +88,7 @@ typedef struct _XftGlyph { } XftGlyph; /* - * A hash table translates Unicode values into glyph indicies + * A hash table translates Unicode values into glyph indices */ typedef struct _XftUcsHash { FcChar32 ucs4; diff --git a/src/xftrender.c b/src/xftrender.c index a352737..8a15ec6 100644 --- a/src/xftrender.c +++ b/src/xftrender.c @@ -232,7 +232,7 @@ XftGlyphSpecRender (Display *dpy, for (i = 0; i < nglyphs; i++) { g = glyphs[i].glyph; - /* Substitute default for non-existant glyphs */ + /* Substitute default for non-existent glyphs */ if (g >= font->num_glyphs || !font->glyphs[g]) g = 0; if (font->glyphs[g]) @@ -246,7 +246,7 @@ XftGlyphSpecRender (Display *dpy, while (++i < nglyphs) { g = glyphs[i].glyph; - /* Substitute default for non-existant glyphs */ + /* Substitute default for non-existent glyphs */ if (g >= font->num_glyphs || !font->glyphs[g]) g = 0; /* @@ -284,7 +284,7 @@ XftGlyphSpecRender (Display *dpy, for (i = 0; i < nglyphs; i++) { g = glyphs[i].glyph; - /* Substitute default for non-existant glyphs */ + /* Substitute default for non-existent glyphs */ if (g >= font->num_glyphs || !font->glyphs[g]) g = 0; if ((glyph = font->glyphs[g])) @@ -507,7 +507,7 @@ XftGlyphFontSpecRender (Display *dpy, XftFont *pub = glyphs[i].font; XftFontInt *font = (XftFontInt *) pub; g = glyphs[i].glyph; - /* Substitute default for non-existant glyphs */ + /* Substitute default for non-existent glyphs */ if (g >= font->num_glyphs || !font->glyphs[g]) g = 0; if (font->glyphs[g]) @@ -528,7 +528,7 @@ XftGlyphFontSpecRender (Display *dpy, XftFont *pub = glyphs[i].font; XftFontInt *font = (XftFontInt *) pub; g = glyphs[i].glyph; - /* Substitute default for non-existant glyphs */ + /* Substitute default for non-existent glyphs */ if (g >= font->num_glyphs || !font->glyphs[g]) g = 0; /* @@ -573,7 +573,7 @@ XftGlyphFontSpecRender (Display *dpy, XftFontInt *font = (XftFontInt *) pub; g = glyphs[i].glyph; - /* Substitute default for non-existant glyphs */ + /* Substitute default for non-existent glyphs */ if (g >= font->num_glyphs || !font->glyphs[g]) g = 0; if ((glyph = font->glyphs[g])) |