[hackers] [libdraw] typo fixes || Connor Lane Smith

From: <hg_AT_suckless.org>
Date: Wed, 11 Aug 2010 14:35:32 +0000 (UTC)

changeset: 16:1a440caf66f6
tag: tip
user: Connor Lane Smith <cls_AT_lubutu.com>
date: Wed Aug 11 15:35:29 2010 +0100
files: drawrect.c initdraw.c
description:
typo fixes

diff -r 9810903f8a7e -r 1a440caf66f6 drawrect.c
--- a/drawrect.c Wed Aug 11 15:24:38 2010 +0100
+++ b/drawrect.c Wed Aug 11 15:35:29 2010 +0100
@@ -7,8 +7,8 @@
         XRectangle r = { dc->x + x, dc->y + y, w, h };
 
         if(!fill) {
- r.w -= 1;
- r.h -= 1;
+ r.width -= 1;
+ r.height -= 1;
         }
         XSetForeground(dc->dpy, dc->gc, color);
         (fill ? XFillRectangles : XDrawRectangles)(dc->dpy, dc->canvas, dc->gc, &r, 1);
diff -r 9810903f8a7e -r 1a440caf66f6 initdraw.c
--- a/initdraw.c Wed Aug 11 15:24:38 2010 +0100
+++ b/initdraw.c Wed Aug 11 15:35:29 2010 +0100
@@ -19,6 +19,6 @@
         XSetLineAttributes(dc->dpy, dc->gc, 1, LineSolid, CapButt, JoinMiter);
         dc->font.xfont = NULL;
         dc->font.set = NULL;
- dc->canvas = 0;
+ dc->canvas = None;
         return dc;
 }
Received on Wed Aug 11 2010 - 16:35:32 CEST

This archive was generated by hypermail 2.2.0 : Wed Aug 11 2010 - 16:36:04 CEST