aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index cc8a22a..6dcf0c7 100644
--- a/st.c
+++ b/st.c
@@ -2406,7 +2406,7 @@ xunloadfonts(void)
2406 * from the frccur. 2406 * from the frccur.
2407 */ 2407 */
2408 for (i = 0, ip = frccur; i < frclen; i++, ip--) { 2408 for (i = 0, ip = frccur; i < frclen; i++, ip--) {
2409 if (ip <= 0) 2409 if (ip < 0)
2410 ip = LEN(frc) - 1; 2410 ip = LEN(frc) - 1;
2411 XftFontClose(xw.dpy, frc[ip].font); 2411 XftFontClose(xw.dpy, frc[ip].font);
2412 } 2412 }