[dwm] draw.c[80]: if((dc.w = dc.x - x) > bh)

From: Karl. <kmw1_AT_free.net.nz>
Date: Thu, 19 Apr 2007 17:27:32 +1200

I'm looking at the status-text drawing functions and thinking about
attempting some patching, to scratch one of my itches.

At line 80 of draw.c (hg tip), I find this line:

        if((dc.w = dc.x - x) > bh) {

As far as I can see, it is comparing a width with the bar height. Does
this make any sense? Am I grossly misunderstanding?

thanks,
Karl.
Received on Thu Apr 19 2007 - 07:27:38 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:40:49 UTC