summaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
authorAurélien Aptel <aurelien.aptel@gmail.com>2011-10-06 21:32:34 +0200
committerAurélien Aptel <aurelien.aptel@gmail.com>2011-10-06 21:32:34 +0200
commit907cb8bfa69926616639f9a19127117b37326029 (patch)
treec6fe8e07587c294e36f440409b89c3270dd61d14 /st.c
parentsimplify version format. (diff)
downloadst-907cb8bfa69926616639f9a19127117b37326029.tar.gz
st-907cb8bfa69926616639f9a19127117b37326029.zip
no palette limit (thx Nick)
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index 6594aa3..72e57c8 100644
--- a/st.c
+++ b/st.c
@@ -1541,7 +1541,7 @@ xloadcols(void) {
1541 XColor color; 1541 XColor color;
1542 unsigned long white = WhitePixel(xw.dpy, xw.scr); 1542 unsigned long white = WhitePixel(xw.dpy, xw.scr);
1543 1543
1544 for(i = 0; i < 16; i++) { 1544 for(i = 0; i < LEN(colorname); i++) {
1545 if(!XAllocNamedColor(xw.dpy, xw.cmap, colorname[i], &color, &color)) { 1545 if(!XAllocNamedColor(xw.dpy, xw.cmap, colorname[i], &color, &color)) {
1546 dc.col[i] = white; 1546 dc.col[i] = white;
1547 fprintf(stderr, "Could not allocate color '%s'\n", colorname[i]); 1547 fprintf(stderr, "Could not allocate color '%s'\n", colorname[i]);