diff options
Diffstat (limited to 'src/update.c')
-rw-r--r-- | src/update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update.c b/src/update.c index daf658e68..ec9890f31 100644 --- a/src/update.c +++ b/src/update.c @@ -290,7 +290,7 @@ make_subdir(struct directory *parent, const char *name) if (directory == NULL) { char path[MPD_PATH_MAX]; - if (isRootDirectory(directory_get_path(parent))) + if (directory_is_root(parent)) strcpy(path, name); else pfx_dir(path, name, strlen(name), |