tUses a &[] pointer loop instead of + pointer loop - st - [fork] customized bui… | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit b17aa18f7c15be8db2afd62ac696b63c75755f1c | |
parent 736685d641c23e8b08f3349d64bf30c1c86cd95d | |
Author: Roberto E. Vargas Caballero <[email protected]> | |
Date: Wed, 22 Apr 2015 09:16:35 +0200 | |
Uses a &[] pointer loop instead of + pointer loop | |
Diffstat: | |
M st.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -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); | |
} | |