mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-25 00:15:46 +01:00
Uses a &[] pointer loop instead of + pointer loop
This commit is contained in:
parent
736685d641
commit
b17aa18f7c
1 changed files with 1 additions and 1 deletions
2
st.c
2
st.c
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue