summaryrefslogtreecommitdiff
path: root/drw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drw.c')
-rw-r--r--drw.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drw.c b/drw.c
index 45ca7b4..760ea7b 100644
--- a/drw.c
+++ b/drw.c
@@ -8,8 +8,6 @@
#include "drw.h"
#include "util.h"
-#define UTF_INVALID 0xFFFD
-
Drw *
drw_create(Display *dpy, int screen, Window root, unsigned int w, unsigned int h)
{
@@ -42,8 +40,8 @@ drw_clr_create(Drw *drw, Clr *dest, const char *clrname)
return;
if (!XftColorAllocName(drw->dpy, DefaultVisual(drw->dpy, drw->screen),
- DefaultColormap(drw->dpy, drw->screen),
- clrname, dest))
+ DefaultColormap(drw->dpy, drw->screen),
+ clrname, dest))
die("error, cannot allocate color '%s'", clrname);
dest->pixel |= 0xff << 24;