[hackers] [st] Fixing the font unloading in case of zoom. || Christoph Lohmann

From: <git_AT_suckless.org>
Date: Sat, 29 Dec 2012 16:26:38 +0100

commit 08e06ef079e5190c7f219c7e50044745c57cea86
Author: Christoph Lohmann <20h_AT_r-36.net>
Date: Sat Dec 29 16:24:33 2012 +0100

    Fixing the font unloading in case of zoom.

diff --git a/st.c b/st.c
index cc8a22a..6dcf0c7 100644
--- a/st.c
+++ b/st.c
_AT_@ -2406,7 +2406,7 @@ xunloadfonts(void)
          * 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);
         }
Received on Sat Dec 29 2012 - 16:26:38 CET

This archive was generated by hypermail 2.3.0 : Sat Dec 29 2012 - 16:36:06 CET