yet another cosmetic fix
This commit is contained in:
		
							
								
								
									
										8
									
								
								dmenu.c
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								dmenu.c
									
									
									
									
									
								
							@ -507,20 +507,16 @@ match(char *pattern) {
 | 
				
			|||||||
	nitem = 0;
 | 
						nitem = 0;
 | 
				
			||||||
	for(i = allitems; i; i=i->next)
 | 
						for(i = allitems; i; i=i->next)
 | 
				
			||||||
		i->matched = False;
 | 
							i->matched = False;
 | 
				
			||||||
 | 
					 | 
				
			||||||
	for(i = allitems; i; i = i->next)
 | 
						for(i = allitems; i; i = i->next)
 | 
				
			||||||
		if(!i->matched && !strncasecmp(pattern, i->text, plen))
 | 
							if(!i->matched && !strncasecmp(pattern, i->text, plen))
 | 
				
			||||||
			j = appenditem(i, j);
 | 
								j = appenditem(i, j);
 | 
				
			||||||
 | 
						for(i = allitems; i; i = i->next)
 | 
				
			||||||
	for (i = allitems; i; i = i->next)
 | 
					 | 
				
			||||||
		if(!i->matched && strcasestr(i->text, pattern))
 | 
							if(!i->matched && strcasestr(i->text, pattern))
 | 
				
			||||||
			j = appenditem(i, j);
 | 
								j = appenditem(i, j);
 | 
				
			||||||
 | 
					 | 
				
			||||||
	if(idomatch)
 | 
						if(idomatch)
 | 
				
			||||||
		for (i = allitems; i; i = i->next)
 | 
							for(i = allitems; i; i = i->next)
 | 
				
			||||||
			if(!i->matched && strcaseido(i->text, pattern))
 | 
								if(!i->matched && strcaseido(i->text, pattern))
 | 
				
			||||||
				j = appenditem(i, j);
 | 
									j = appenditem(i, j);
 | 
				
			||||||
 | 
					 | 
				
			||||||
	curr = prev = next = sel = item;
 | 
						curr = prev = next = sel = item;
 | 
				
			||||||
	calcoffsets();
 | 
						calcoffsets();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user