diff options
author | Enno Boland (tox) <tox@s01.de> | 2009-09-23 10:35:06 +0200 |
---|---|---|
committer | Enno Boland (tox) <tox@s01.de> | 2009-09-23 10:35:06 +0200 |
commit | 44d0720f9c352017b9c49a8dae6f9fbeb2f54163 (patch) | |
tree | 31f878cbeab2efe2563a1a2243b94cf0a84d302d | |
parent | 0ad9b7f35c4095dbf660eea549aec2d8f184816d (diff) |
small variable fixes
-rw-r--r-- | tabbed.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |