aewl

diff tag.c @ 532:651f2c868b31

code polishing, removed unnecessary newlines
author Anselm R. Garbe <arg@10kloc.org>
date Fri, 06 Oct 2006 11:50:15 +0200
parents be4f90c03582
children a5567a0d3011
line diff
     1.1 --- a/tag.c	Fri Oct 06 11:37:12 2006 +0200
     1.2 +++ b/tag.c	Fri Oct 06 11:50:15 2006 +0200
     1.3 @@ -1,5 +1,4 @@
     1.4 -/*
     1.5 - * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
     1.6 +/* (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
     1.7   * See LICENSE file for license details.
     1.8   */
     1.9  #include "dwm.h"
    1.10 @@ -53,7 +52,6 @@
    1.11  		return;
    1.12  	len = sizeof(rule) / sizeof(rule[0]);
    1.13  	rreg = emallocz(len * sizeof(RReg));
    1.14 -
    1.15  	for(i = 0; i < len; i++) {
    1.16  		if(rule[i].clpattern) {
    1.17  			reg = emallocz(sizeof(regex_t));
    1.18 @@ -115,7 +113,6 @@
    1.19  
    1.20  	if(!sel)
    1.21  		return;
    1.22 -
    1.23  	for(i = 0; i < ntags; i++)
    1.24  		sel->tags[i] = False;
    1.25  	sel->tags[arg->i] = True;
    1.26 @@ -129,7 +126,6 @@
    1.27  
    1.28  	if(!sel)
    1.29  		return;
    1.30 -
    1.31  	sel->tags[arg->i] = !sel->tags[arg->i];
    1.32  	for(i = 0; i < ntags && !sel->tags[i]; i++);
    1.33  	if(i == ntags)