diff options
Diffstat (limited to 'st.c')
| -rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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]); |
