removed useless call
Anselm R. Garbe arg@10kloc.org
Thu, 24 Aug 2006 12:04:41 +0200
1 files changed,
1 insertions(+),
3 deletions(-)
jump to
M
draw.c
→
draw.c
@@ -29,7 +29,6 @@ {
int x, y, w, h; static char buf[256]; unsigned int len, olen; - XGCValues gcv; XPoint points[5]; XRectangle r = { dc.x, dc.y, dc.w, dc.h };@@ -83,8 +82,7 @@
if(dc.font.set) XmbDrawString(dpy, dc.drawable, dc.font.set, dc.gc, x, y, buf, len); else { - gcv.font = dc.font.xfont->fid; - XChangeGC(dpy, dc.gc, GCFont, &gcv); + XSetFont(dpy, dc.gc, dc.font.xfont->fid); XDrawString(dpy, dc.drawable, dc.gc, x, y, buf, len); } }