summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2020-04-01 20:57:52 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2020-04-01 20:59:37 -0400
commit972fa05c3df73fd3c99c409c0ac2225a58f76d09 (patch)
treefd1270603abf126d92d0323c3442895643772f7f
parent86c2355b116fd9febe2ac7f577e7c12e069d3986 (diff)
downloadxorg-lib-libXft-972fa05c3df73fd3c99c409c0ac2225a58f76d09.tar.gz
build-fix for c89
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
-rw-r--r--src/xftglyphs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xftglyphs.c b/src/xftglyphs.c
index 1c450bb..b536df4 100644
--- a/src/xftglyphs.c
+++ b/src/xftglyphs.c
@@ -86,7 +86,7 @@ _compute_xrender_bitmap_size( FT_Bitmap* target,
if ( slot->format != FT_GLYPH_FORMAT_BITMAP )
return -1;
- // compute the size of the final bitmap
+ /* compute the size of the final bitmap */
ftbit = &slot->bitmap;
width = (int)ftbit->width;
@@ -566,7 +566,7 @@ XftFontLoadGlyphs (Display *dpy,
xftg->metrics.yOff = (short)(-TRUNC(ROUND(glyphslot->advance.y)));
}
- // compute the size of the final bitmap
+ /* compute the size of the final bitmap */
ftbit = &glyphslot->bitmap;
width = (int)ftbit->width;