diff options
Diffstat (limited to 'src/modules/module-augment-properties.c')
-rw-r--r-- | src/modules/module-augment-properties.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/module-augment-properties.c b/src/modules/module-augment-properties.c index 8044b663..2961dd6d 100644 --- a/src/modules/module-augment-properties.c +++ b/src/modules/module-augment-properties.c @@ -191,9 +191,7 @@ static void update_rule(struct rule *r) { continue; pa_xfree(fn); - fn = pa_sprintf_malloc(DESKTOPFILEDIR - PA_PATH_SEP "%s" PA_PATH_SEP "%s.desktop", - dir->d_name, r->process_name); + fn = pa_sprintf_malloc(DESKTOPFILEDIR PA_PATH_SEP "%s" PA_PATH_SEP "%s.desktop", dir->d_name, r->process_name); if (stat(fn, &st) == 0) { found = TRUE; |