diff options
Diffstat (limited to '')
| -rw-r--r-- | dwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -599,7 +599,6 @@ die(const char *errstr, ...) { | |||
| 599 | 599 | ||
| 600 | void | 600 | void |
| 601 | drawbar(Monitor *m) { | 601 | drawbar(Monitor *m) { |
| 602 | char buf[2]; | ||
| 603 | int x; | 602 | int x; |
| 604 | unsigned int i, occ = 0, urg = 0; | 603 | unsigned int i, occ = 0, urg = 0; |
| 605 | unsigned long *col; | 604 | unsigned long *col; |
| @@ -616,6 +615,7 @@ drawbar(Monitor *m) { | |||
| 616 | dc.x = 0; | 615 | dc.x = 0; |
| 617 | #ifdef XINERAMA | 616 | #ifdef XINERAMA |
| 618 | { | 617 | { |
| 618 | char buf[2]; | ||
| 619 | buf[0] = m->screen_number + '0'; | 619 | buf[0] = m->screen_number + '0'; |
| 620 | buf[1] = '\0'; | 620 | buf[1] = '\0'; |
| 621 | dc.w = TEXTW(buf); | 621 | dc.w = TEXTW(buf); |
