arg@mmvi hace 18 años
padre
commit
c02da9f87e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      draw.c

+ 1
- 1
draw.c Ver fichero

@@ -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;


Cargando…
Cancelar
Guardar