浏览代码

Fixing the font unloading in case of zoom.

Christoph Lohmann 12 年之前
父节点
当前提交
08e06ef079
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);
 	}