Code cleanup
This commit is contained in:
parent
42b56cfb8f
commit
e1f37a167b
|
@ -537,7 +537,7 @@ static int _open_application(MimeHandler * handler, String const * filename)
|
|||
GError * error = NULL;
|
||||
|
||||
/* FIXME implement filename */
|
||||
if((q = config_get(handler->config, SECTION, "Exec")) == NULL)
|
||||
if((q = mimehandler_get_program(handler)) == NULL)
|
||||
return -1;
|
||||
if((program = string_new(q)) == NULL)
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue
Block a user