xmakeglyphfontspecs: fix for when not using ligatures

This commit is contained in:
Bakkeby 2024-03-07 21:59:15 +01:00
parent b7add20215
commit 340caa5d0a

2
x.c
View File

@ -1679,8 +1679,8 @@ xmakeglyphfontspecs(XftGlyphFontSpec *specs, const Glyph *glyphs, int len, int x
FcFontSet *fcsets[] = { NULL }; FcFontSet *fcsets[] = { NULL };
FcCharSet *fccharset; FcCharSet *fccharset;
int f, numspecs = 0; int f, numspecs = 0;
#if LIGATURES_PATCH
int i; int i;
#if LIGATURES_PATCH
float cluster_xp, cluster_yp; float cluster_xp, cluster_yp;
HbTransformData shaped; HbTransformData shaped;