Re: [dwm] small cleanup of drawtext()

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Sun, 27 Apr 2008 19:02:42 +0200

On Sun, Apr 27, 2008 at 06:19:45PM +0200, Premysl Hruby wrote:
> I do small cleanup of drawtext():
>
> - buf[] is not needed to be global
> - there's no need to end buf[] with zero byte, as all function take length
> parameter
> - w > dc.w can be true iff length of printed text is zero

Thanks a lot, applied.

-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Received on Sun Apr 27 2008 - 19:02:42 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:35:43 UTC