[hackers] [dwm] changed order of variables in drawtext || Anselm R Garbe

From: <hg_AT_suckless.org>
Date: Mon, 18 Aug 2008 09:00:14 +0000 (UTC)

changeset: 1329:43c19f9f8e6f
tag: tip
user: Anselm R Garbe <garbeam_AT_gmail.com>
date: Mon Aug 18 10:00:10 2008 +0100
files: dwm.c
description:
changed order of variables in drawtext

diff -r 0fac6d3067d7 -r 43c19f9f8e6f dwm.c
--- a/dwm.c Mon Aug 18 09:55:36 2008 +0100
+++ b/dwm.c Mon Aug 18 10:00:10 2008 +0100
@@ -569,8 +569,8 @@
 void
 drawtext(const char *text, unsigned long col[ColLast], Bool invert) {
         int i, x, y, h, len, olen;
+ char buf[256];
         XRectangle r = { dc.x, dc.y, dc.w, dc.h };
- char buf[256];
 
         XSetForeground(dpy, dc.gc, col[invert ? ColFG : ColBG]);
         XFillRectangles(dpy, dc.drawable, dc.gc, &r, 1);
Received on Mon Aug 18 2008 - 09:00:14 UTC

This archive was generated by hypermail 2.2.0 : Mon Aug 18 2008 - 09:12:09 UTC