summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util.c b/src/util.c
index f77b0b6..baff6c8 100644
--- a/src/util.c
+++ b/src/util.c
@@ -919,11 +919,11 @@ CreateDotPixmap(unsigned *widthp, unsigned *heightp)
if (!(h & 1))
h--;
*widthp = *heightp = (unsigned int) h;
- if (Scr->tbpm.delete == None) {
+ if (Scr->tbpm.remove == None) {
GC gc;
Pixmap pix;
- pix = Scr->tbpm.delete =
+ pix = Scr->tbpm.remove =
XCreatePixmap(dpy, Scr->Root, (unsigned) h, (unsigned) h, 1);
gc = XCreateGC(dpy, pix, 0L, NULL);
XSetLineAttributes(dpy, gc, (unsigned) h, LineSolid, CapRound,
@@ -934,7 +934,7 @@ CreateDotPixmap(unsigned *widthp, unsigned *heightp)
XDrawLine(dpy, pix, gc, h / 2, h / 2, h / 2, h / 2);
XFreeGC(dpy, gc);
}
- return Scr->tbpm.delete;
+ return Scr->tbpm.remove;
}
#define questionmark_width 8