Browse Source

doing it in a shorter way

main
Anselm R. Garbe 17 years ago
parent
commit
260a55ef62
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      dwm.c

+ 1
- 3
dwm.c View File

@ -1321,10 +1321,8 @@ run(void) {
*p = '\0'; *p = '\0';
offset = 0; offset = 0;
} }
else if(offset + r < len - 1)
offset += r;
else else
offset = 0;
offset = (offset + r < len - 1) ? offset + r : 0;
} }
drawbar(); drawbar();
} }


Loading…
Cancel
Save