pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
addc848
)
Fixing the font unloading in case of zoom.
author
Christoph Lohmann
<20h@r-36.net>
Sat, 29 Dec 2012 15:24:33 +0000
(16:24 +0100)
committer
Christoph Lohmann
<20h@r-36.net>
Sat, 29 Dec 2012 15:24:33 +0000
(16:24 +0100)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
cc8a22a
..
6dcf0c7
100644
(file)
--- 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);
}