diff options
author | Aurélien Aptel <aurelien.aptel@gmail.com> | 2011-10-06 21:32:34 +0200 |
---|---|---|
committer | Aurélien Aptel <aurelien.aptel@gmail.com> | 2011-10-06 21:32:34 +0200 |
commit | 7c350025b23ef88d42d49ba52be8a5ea44a9928a (patch) | |
tree | c6fe8e07587c294e36f440409b89c3270dd61d14 /st.c | |
parent | 4a421ffbbcfbe0868f9364d346e5ce519a65a0db (diff) | |
download | st-7c350025b23ef88d42d49ba52be8a5ea44a9928a.tar.gz st-7c350025b23ef88d42d49ba52be8a5ea44a9928a.tar.bz2 |
no palette limit (thx Nick)
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1541,7 +1541,7 @@ xloadcols(void) { XColor color; unsigned long white = WhitePixel(xw.dpy, xw.scr); - for(i = 0; i < 16; i++) { + for(i = 0; i < LEN(colorname); i++) { if(!XAllocNamedColor(xw.dpy, xw.cmap, colorname[i], &color, &color)) { dc.col[i] = white; fprintf(stderr, "Could not allocate color '%s'\n", colorname[i]); |