tabbed

[fork] xembed tabbing program
Log | Files | Refs | README | LICENSE

commit 44d0720f9c352017b9c49a8dae6f9fbeb2f54163
parent 0ad9b7f35c4095dbf660eea549aec2d8f184816d
Author: Enno Boland (tox) <tox@s01.de>
Date:   Wed, 23 Sep 2009 10:35:06 +0200

small variable fixes
Diffstat:
Mtabbed.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tabbed.c b/tabbed.c @@ -253,7 +253,7 @@ drawbar() { for(c = clients; c; c = c->next) c->tabx = -1; for(n = 0, fc = c = getfirsttab(); c; c = c->next, n++); - if(n * 200 > width) { + if(n * tabwidth > width) { dc.w = TEXTW(after); dc.x = width - dc.w; drawtext(after, dc.sel); @@ -273,7 +273,7 @@ drawbar() { if(n * tabwidth > width) dc.w += width % tabwidth; else - dc.w = width - (n - 1) * 200; + dc.w = width - (n - 1) * tabwidth; } else { col = dc.norm;