all repos — st @ 08e06ef079e5190c7f219c7e50044745c57cea86

st (suckless terminal) config

Fixing the font unloading in case of zoom.
Christoph Lohmann 20h@r-36.net
commit

08e06ef079e5190c7f219c7e50044745c57cea86

parent

addc84834506e24387c1fb70b5d33b3f2ba55b66

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M st.cst.c

@@ -2406,7 +2406,7 @@ * Free the loaded fonts in the font cache. This is done backwards

* from the frccur. */ for (i = 0, ip = frccur; i < frclen; i++, ip--) { - if (ip <= 0) + if (ip < 0) ip = LEN(frc) - 1; XftFontClose(xw.dpy, frc[ip].font); }