forked from len0rd/rockbox
Don't do the same check twice. Thanks to fml on IRC for noting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17624 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bec0a59937
commit
1659a1a031
1 changed files with 1 additions and 2 deletions
|
|
@ -471,8 +471,7 @@ int filetype_list_viewers(const char* current_file)
|
|||
int j;
|
||||
for (j=0;j<count;j++) /* check if the plugin is in the list yet */
|
||||
{
|
||||
if (filetypes[i].plugin &&
|
||||
!strcmp(filetypes[i].plugin,filetypes[items[j]].plugin))
|
||||
if (!strcmp(filetypes[i].plugin,filetypes[items[j]].plugin))
|
||||
break;
|
||||
}
|
||||
if (j<count)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue