Flawed logic is flawed.

This commit is contained in:
LemonBoy 2012-07-16 15:54:34 +02:00
parent cb7597052b
commit 11e5e2e859

2
bar.c
View File

@ -26,7 +26,7 @@ draw (int x, int align, int fgcol, int bgcol, char *text)
int len = MIN(bw / ft_width, strlen (text));
int strw = len * ft_width;
if (!strw) return x;
if (!strw) return 0;
switch (align) {
case 1: