summaryrefslogtreecommitdiff
path: root/apps/filetree.c
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2024-05-06 16:39:57 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2024-05-06 17:27:25 -0400
commitee840709d3d93376f9b5da6c34572424079304b8 (patch)
tree2357bb53651524d1cc5dd386fb32ddba15e7be0d /apps/filetree.c
parent30482bd9087444c434ee4c4cc1756ca9a402f5ad (diff)
downloadrockbox-ee840709d3d93376f9b5da6c34572424079304b8.tar.gz
rockbox-ee840709d3d93376f9b5da6c34572424079304b8.zip
[Feature] Open plugins now recognizes known filetypes and can run them
now you can run your lua files without having to add the viewer to the shortcut or if you want a bmp file to be displayed when you start the device that can be done as well Change-Id: Ia56b566789623a2ca78d9e4583086db6e2cd689b
Diffstat (limited to 'apps/filetree.c')
-rw-r--r--apps/filetree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/filetree.c b/apps/filetree.c
index 594a0bd6f1..9550adbac2 100644
--- a/apps/filetree.c
+++ b/apps/filetree.c
@@ -755,7 +755,7 @@ int ft_enter(struct tree_context* c)
755 return rc; 755 return rc;
756 } 756 }
757 757
758 plugin = filetype_get_plugin(file, plugin_path, sizeof(plugin_path)); 758 plugin = filetype_get_plugin(file->attr, plugin_path, sizeof(plugin_path));
759 if (plugin) 759 if (plugin)
760 { 760 {
761#ifdef PLUGINS_RUN_IN_BROWSER /* Stay in the filetree to run a plugin */ 761#ifdef PLUGINS_RUN_IN_BROWSER /* Stay in the filetree to run a plugin */