Commit 08e06ef

Christoph Lohmann <20h@r-36.net>
2012-12-29 10:24:33
Fixing the font unloading in case of zoom.
1 parent addc848
Changed files (1)
st.c
@@ -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);
 	}