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)
* 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);
}