summaryrefslogtreecommitdiff
path: root/src/cmdargs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmdargs.cpp')
-rw-r--r--src/cmdargs.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmdargs.cpp b/src/cmdargs.cpp
index 6e035212..0e458557 100644
--- a/src/cmdargs.cpp
+++ b/src/cmdargs.cpp
@@ -188,7 +188,8 @@ void ParseArgv(int argc, char **argv)
replace(now_playing_format, "\\t", "\t");
}
}
- std::cout << utf_to_locale_cpy(Mpd.GetCurrentlyPlayingSong().toString(now_playing_format)) << "\n";
+ std::cout << IConv::utf8ToLocale(
+ Mpd.GetCurrentlyPlayingSong().toString(now_playing_format)) << "\n";
}
exit(0);
}