Uses a &[] pointer loop instead of + pointer loop

This commit is contained in:
Roberto E. Vargas Caballero 2015-04-22 09:16:35 +02:00
parent 736685d641
commit b17aa18f7c

2
st.c
View file

@ -2906,7 +2906,7 @@ xloadcols(void) {
Color *cp;
if(loaded) {
for (cp = dc.col; cp < dc.col + LEN(dc.col); ++cp)
for (cp = dc.col; cp < &dc.col[LEN(dc.col)]; ++cp)
XftColorFree(xw.dpy, xw.vis, xw.cmap, cp);
}