tFixing the font unloading in case of zoom. - st - [fork] customized build of s… | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 08e06ef079e5190c7f219c7e50044745c57cea86 | |
parent addc84834506e24387c1fb70b5d33b3f2ba55b66 | |
Author: Christoph Lohmann <[email protected]> | |
Date: Sat, 29 Dec 2012 16:24:33 +0100 | |
Fixing the font unloading in case of zoom. | |
Diffstat: | |
M st.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -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); | |
} |