From 6cf073c11705cf576c3b7618a32ae121eaf14579 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 3 Jun 2022 11:24:18 -0700 Subject: Fix spelling/wording issues Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith --- README.md | 2 +- src/xftint.h | 2 +- src/xftrender.c | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 26edef1..08470d9 100644 --- a/README.md +++ b/README.md @@ -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])) -- cgit v1.2.1