summaryrefslogtreecommitdiff
path: root/drw.c
diff options
context:
space:
mode:
authorProsperousPotato <ProsperousPotato@users.noreply.github.com>2026-01-09 20:12:22 +0000
committerProsperousPotato <ProsperousPotato@users.noreply.github.com>2026-01-09 20:12:22 +0000
commitfdc609d76127ba5c3e326e67926455458cd6b07f (patch)
tree8c382b8f6c15ed491301943316d3f32046fd7c0f /drw.c
parent5fb19186ae431fdd2252044ebf67db96162f01b2 (diff)
fix indentation
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;