Fix mpd prompt replace mode

This commit is contained in:
crater2150 2015-06-13 23:52:24 +02:00
parent b8dae293fa
commit 0bbf605eac

View file

@ -30,7 +30,7 @@ end
local function dmenu(opts)
log.spawn("dmpc -h " .. settings.host .. " -p " .. settings.port .. " " ..
(clear_before and "-r" or "-R") .. " " .. opts)
(settings.replace_on_search and "-r" or "-R") .. " " .. opts)
end
local function notify(stext)