[drun] Only pass path on launch, if one is set

This commit is contained in:
Dave Davenport 2022-10-13 20:26:00 +02:00
parent 19de3075e7
commit baba41cbd2

View file

@ -236,7 +236,9 @@ static gboolean drun_helper_eval_cb(const GMatchInfo *info, GString *res,
case 'F':
case 'u':
case 'U':
g_string_append(res, e->path);
if (e->path) {
g_string_append(res, e->path);
}
break;
// Unsupported
case 'i':