hotfix of settags
This commit is contained in:
		
							parent
							
								
									7315bb08ad
								
							
						
					
					
						commit
						666b4563a0
					
				
							
								
								
									
										3
									
								
								tag.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								tag.c
									
									
									
									
									
								
							| @ -169,9 +169,8 @@ settags(Client *c) | |||||||
| 			if(!regcomp(®ex, rule[i].pattern, 0)) { | 			if(!regcomp(®ex, rule[i].pattern, 0)) { | ||||||
| 				if(!regexec(®ex, classinst, 1, &tmp, 0)) { | 				if(!regexec(®ex, classinst, 1, &tmp, 0)) { | ||||||
| 					for(j = 0; j < TLast; j++) { | 					for(j = 0; j < TLast; j++) { | ||||||
| 						if(rule[i].tags[j]) | 						if((c->tags[j] = rule[i].tags[j])) | ||||||
| 							matched = True; | 							matched = True; | ||||||
| 						c->tags[j] = True; |  | ||||||
| 					} | 					} | ||||||
| 					c->isfloat = rule[i].isfloat; | 					c->isfloat = rule[i].isfloat; | ||||||
| 				} | 				} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user