arg@mmvi há 18 anos
ascendente
cometimento
c02da9f87e
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      draw.c

+ 1
- 1
draw.c Ver ficheiro

@@ -78,7 +78,7 @@ drawtext(const char *text, unsigned long col[ColLast]) {
unsigned long
getcolor(const char *colstr) {
Colormap cmap = DefaultColormap(dpy, screen);
XColor color;
XColor color = {0};

XAllocNamedColor(dpy, cmap, colstr, &color, &color);
return color.pixel;


Carregando…
Cancelar
Guardar