equal
deleted
inserted
replaced
97 if(!matched) |
97 if(!matched) |
98 for(i = 0; i < ntags; i++) |
98 for(i = 0; i < ntags; i++) |
99 c->tags[i] = seltag[i]; |
99 c->tags[i] = seltag[i]; |
100 } |
100 } |
101 |
101 |
102 void |
|
103 shiftview(const char *arg) { |
|
104 int i, j; |
|
105 |
|
106 for(i = 0; !seltag[i]; i++); |
|
107 for(j = i + 1; j < ntags && !seltag[j]; j++); |
|
108 if(j < ntags) |
|
109 return; /* more than one tag selected */ |
|
110 seltag[i] = False; |
|
111 i += arg ? atoi(arg) : 0; |
|
112 if(i < 0) |
|
113 i = ntags - 1; |
|
114 else if(i >= ntags) |
|
115 i = 0; |
|
116 seltag[i] = True; |
|
117 lt->arrange(); |
|
118 } |
|
119 |
|
120 void |
102 void |
121 tag(const char *arg) { |
103 tag(const char *arg) { |
122 int i; |
104 int i; |
123 |
105 |
124 if(!sel) |
106 if(!sel) |