From 8ee035b6c884142f936b03b7419d14e9102515d9 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Wed, 19 Aug 2020 00:39:23 -0400 Subject: Open_plugin add ability to import opx shortcuts, bug fix shortcuts can be exported as .opx; now they can import as well if parameter is a valid file.. plugins with parameters are now hashed on the parameter path fix bug with empty parameters not overwriting last valid parameter Change-Id: I149519811f07cb4ba22b7113449e2f89f77f1eee --- apps/open_plugin.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/open_plugin.c') diff --git a/apps/open_plugin.c b/apps/open_plugin.c index 5bca829708..61778e1ce7 100644 --- a/apps/open_plugin.c +++ b/apps/open_plugin.c @@ -64,6 +64,8 @@ uint32_t open_plugin_add_path(const char *key, const char *plugin, const char *p if(parameter) strlcpy(open_plugin_entry.param, parameter, OPEN_PLUGIN_BUFSZ); + else + open_plugin_entry.param[0] = '\0'; write(fd, &open_plugin_entry, op_entry_sz); } -- cgit v1.2.3