don't draw monitor number, if there is just one monitor

This commit is contained in:
Anselm R Garbe 2009-06-30 20:00:11 +01:00
parent 183dc670a3
commit e408ca97d8
1 changed files with 1 additions and 1 deletions

2
dwm.c
View File

@ -636,7 +636,7 @@ drawbar(Monitor *m) {
dc.x = 0; dc.x = 0;
#ifdef XINERAMA #ifdef XINERAMA
{ if(mons->next) { /* more than a single monitor */
char buf[2]; char buf[2];
buf[0] = m->screen_number + '0'; buf[0] = m->screen_number + '0';
buf[1] = '\0'; buf[1] = '\0';