forked from len0rd/rockbox
		
	Fixed a problem when using filename tag as a search clause.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10571 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
		
							parent
							
								
									979dd7ad0f
								
							
						
					
					
						commit
						0c5ec36c7a
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -678,7 +678,10 @@ static bool build_lookup_list(struct tagcache_search *tcs) | ||||||
|                 { |                 { | ||||||
|                     if (tcs->clause[j]->tag == tag_filename) |                     if (tcs->clause[j]->tag == tag_filename) | ||||||
|                     { |                     { | ||||||
|  |                         int oldtype = tcs->type; | ||||||
|  |                         tcs->type = tag_filename; | ||||||
|                         tagcache_retrieve(tcs, i, buf, sizeof buf); |                         tagcache_retrieve(tcs, i, buf, sizeof buf); | ||||||
|  |                         tcs->type = oldtype; | ||||||
|                         str = buf; |                         str = buf; | ||||||
|                     } |                     } | ||||||
|                     else |                     else | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue