mirror of
https://github.com/albfan/miraclecast.git
synced 2025-02-12 14:11:56 +00:00
Allow auto commands with any number of parameters
This commit is contained in:
parent
c42624885b
commit
e816de93d3
1 changed files with 1 additions and 1 deletions
|
@ -918,7 +918,7 @@ int main(int argc, char **argv)
|
|||
}
|
||||
gchar* autocmd;
|
||||
autocmd = g_key_file_get_string (gkf, "sinkctl", "autocmd", NULL);
|
||||
if (autocmd && argc == 1) {
|
||||
if (autocmd) {
|
||||
gchar** autocmds = g_strsplit(autocmd, " ", -1);
|
||||
autocmds_free = autocmds;
|
||||
while (*autocmds) {
|
||||
|
|
Loading…
Reference in a new issue