Code cleanup

This commit is contained in:
Pierre Pronchery 2017-12-26 20:23:36 +01:00
parent 42b56cfb8f
commit e1f37a167b

View File

@ -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;