[dwm] small cleanup of drawtext()

From: Premysl Hruby <dfenze_AT_gmail.com>
Date: Sun, 27 Apr 2008 18:19:45 +0200

Hi,

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

-Ph

-- 
Premysl "Anydot" Hruby, http://www.redrum.cz/

Received on Sun Apr 27 2008 - 18:20:01 UTC

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