aboutsummaryrefslogtreecommitdiffstats
path: root/src/DatabaseGlue.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/DatabaseGlue.cxx')
-rw-r--r--src/DatabaseGlue.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/DatabaseGlue.cxx b/src/DatabaseGlue.cxx
index 59b582873..0b2bb0c37 100644
--- a/src/DatabaseGlue.cxx
+++ b/src/DatabaseGlue.cxx
@@ -128,9 +128,7 @@ db_get_directory(const char *name)
if (name == NULL)
return music_root;
- struct directory *directory =
- directory_lookup_directory(music_root, name);
- return directory;
+ return music_root->LookupDirectory(name);
}
struct song *