mirror of
https://github.com/lbonn/rofi
synced 2024-11-15 00:27:36 +00:00
[drun] Only pass path on launch, if one is set
This commit is contained in:
parent
19de3075e7
commit
baba41cbd2
1 changed files with 3 additions and 1 deletions
|
@ -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':
|
||||
|
|
Loading…
Reference in a new issue