mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-25 00:15:46 +01:00
Fixing the font unloading in case of zoom.
This commit is contained in:
parent
addc848345
commit
08e06ef079
1 changed files with 1 additions and 1 deletions
2
st.c
2
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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue