aboutsummaryrefslogtreecommitdiffstats
path: root/src/SongUpdate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/SongUpdate.cxx')
-rw-r--r--src/SongUpdate.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SongUpdate.cxx b/src/SongUpdate.cxx
index ee70085f3..2eb0a0966 100644
--- a/src/SongUpdate.cxx
+++ b/src/SongUpdate.cxx
@@ -130,7 +130,7 @@ DetachedSong::Update()
{
if (IsAbsoluteFile()) {
const AllocatedPath path_fs =
- AllocatedPath::FromUTF8(uri.c_str());
+ AllocatedPath::FromUTF8(GetRealURI());
struct stat st;
if (!StatFile(path_fs, st) || !S_ISREG(st.st_mode))