Explorar o código

Fixing the font unloading in case of zoom.

Christoph Lohmann %!s(int64=12) %!d(string=hai) anos
pai
achega
08e06ef079
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      st.c

+ 1 - 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);
 	}