aboutsummaryrefslogtreecommitdiffstats
path: root/draw.c
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-06-14 18:10:57 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-06-14 18:10:57 +0000
commit919f42e4d040107020583495cf43843d9a55989b (patch)
treed4e97e88afb5f3a305a43c52a5ac2b7f8ec0064a /draw.c
parentab053d64a10b4b2fd0c01ce0419c8b71e3ce96b3 (diff)
downloaddzen-919f42e4d040107020583495cf43843d9a55989b.tar.gz
dzen-919f42e4d040107020583495cf43843d9a55989b.zip
release 0.5.0
git-svn-id: http://dzen.googlecode.com/svn/trunk@102 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'draw.c')
-rw-r--r--draw.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/draw.c b/draw.c
index bac0883..b0ad3f9 100644
--- a/draw.c
+++ b/draw.c
@@ -60,7 +60,6 @@ drawtext(const char *text, int reverse, int line, int align) {
XSetForeground(dzen.dpy, mgc, dzen.slave_win.tbuf[line+dzen.slave_win.first_line_vis].bg):
XSetForeground(dzen.dpy, mgc, dzen.slave_win.tbuf[line+dzen.slave_win.first_line_vis].fg);
}
-
}
if(!text)
@@ -131,7 +130,7 @@ getcolor(const char *colstr) {
if(!XAllocNamedColor(dzen.dpy, cmap, colstr, &color, &color))
return -1;
- //eprint("dzen: error, cannot allocate color '%s'\n", colstr);
+
return color.pixel;
}