hotfix cd96232f
Anselm R Garbe · 2009-07-02 20:38 1 file(s) · +3 −2
dwm.c +3 −2
625 625
dirtomon(int dir) {
626 626
	Monitor *m = NULL;
627 627
628 -
	if(dir > 0)
628 +
	if(dir > 0) {
629 629
		if(!(m = selmon->next))
630 630
			m = mons;
631 +
	}
631 632
	else {
632 633
		if(selmon == mons)
633 634
			for(m = mons; m->next; m = m->next);
1521 1522
void
1522 1523
tagmon(const Arg *arg) {
1523 1524
	if(!selmon->sel || !mons->next)
1524 -
		return
1525 +
		return;
1525 1526
	sendmon(selmon->sel, dirtomon(arg->i));
1526 1527
}
1527 1528