summaryrefslogtreecommitdiff
path: root/src/screens
diff options
context:
space:
mode:
Diffstat (limited to 'src/screens')
-rw-r--r--src/screens/lyrics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screens/lyrics.cpp b/src/screens/lyrics.cpp
index c4552610..dacfa7f4 100644
--- a/src/screens/lyrics.cpp
+++ b/src/screens/lyrics.cpp
@@ -328,7 +328,7 @@ void Lyrics::edit()
std::string filename = lyricsFilename(m_song);
if (Config.use_console_editor)
{
- command = "/bin/sh -c \"" + Config.external_editor + " \\\"" + filename + "\\\"\"";
+ command = Config.external_editor + " '" + filename + "'";
NC::pauseScreen();
res = system(command.c_str());
NC::unpauseScreen();