Browse Source

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

master
Roberto E. Vargas Caballero 10 years ago
parent
commit
b17aa18f7c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      st.c

+ 1
- 1
st.c View File

@ -2906,7 +2906,7 @@ xloadcols(void) {
Color *cp; Color *cp;
if(loaded) { 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); XftColorFree(xw.dpy, xw.vis, xw.cmap, cp);
} }


Loading…
Cancel
Save