From 25efd331e82ef49da700bbd567195d80fffb33eb Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Mon, 13 Mar 2006 07:33:30 +0000 Subject: Patch #4791 by Jonathan Gordon - Remove duplicates from the Open-with menu, and allow regular rocks to be loaded as viewers. Also allow all file types in the Open-with menu, not only the registered ones. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9025 a1c6a512-1295-4272-9138-f99709370657 --- apps/onplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/onplay.c') diff --git a/apps/onplay.c b/apps/onplay.c index be11b9a..e057623 100644 --- a/apps/onplay.c +++ b/apps/onplay.c @@ -628,7 +628,7 @@ int onplay(char* file, int attr, int from) } } - if (!(attr & ATTR_DIRECTORY) && attr) + if (!(attr & ATTR_DIRECTORY)) { items[i].desc = ID2P(LANG_ONPLAY_OPEN_WITH); items[i].function = list_viewers; -- cgit v1.1