summaryrefslogtreecommitdiff
path: root/apps/filetypes.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/filetypes.c')
-rw-r--r--apps/filetypes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/filetypes.c b/apps/filetypes.c
index b9f5dd1935..b7004f58db 100644
--- a/apps/filetypes.c
+++ b/apps/filetypes.c
@@ -239,11 +239,11 @@ int filetype_load_menu(struct menu_item* menu,int max_items)
239} 239}
240 240
241/* start a plugin with an argument (called from onplay.c) */ 241/* start a plugin with an argument (called from onplay.c) */
242void filetype_load_plugin(char* plugin, char* file) 242int filetype_load_plugin(char* plugin, char* file)
243{ 243{
244 snprintf(plugin_name,sizeof(plugin_name),"%s/%s.rock", 244 snprintf(plugin_name,sizeof(plugin_name),"%s/%s.rock",
245 VIEWERS_DIR,plugin); 245 VIEWERS_DIR,plugin);
246 plugin_load(plugin_name,file); 246 return plugin_load(plugin_name,file);
247} 247}
248 248
249/* get index to filetypes[] from the file attribute */ 249/* get index to filetypes[] from the file attribute */