mirror of
https://github.com/transmission/transmission
synced 2024-12-25 17:17:31 +00:00
#4479 'magnet links are not included in filter results' -- fixed.
This commit is contained in:
parent
779316aa37
commit
cc237aa713
1 changed files with 8 additions and 0 deletions
|
@ -839,6 +839,14 @@ testText( const tr_torrent * tor, const char * key )
|
|||
tr_file_index_t i;
|
||||
const tr_info * inf = tr_torrentInfo( tor );
|
||||
|
||||
/* test the torrent name... */
|
||||
{
|
||||
char * pch = g_utf8_casefold( tr_torrentName( tor ), -1 );
|
||||
ret = !key || strstr( pch, key ) != NULL;
|
||||
g_free( pch );
|
||||
}
|
||||
|
||||
/* test the files... */
|
||||
for( i=0; i<inf->fileCount && !ret; ++i )
|
||||
{
|
||||
char * pch = g_utf8_casefold( inf->files[i].name, -1 );
|
||||
|
|
Loading…
Reference in a new issue