aboutsummaryrefslogtreecommitdiff
path: root/mpd.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-10-04 00:21:15 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-10-04 00:21:15 +0200
commit724366c038777122e292091b729e7d1e9d52c5cc (patch)
tree2d569662d042143b60d07efa98b0057d5f07d0aa /mpd.lua
parent643ecb02874fd477d68fe01f2d3dd053bf079669 (diff)
downloadvicious-legacy-724366c038777122e292091b729e7d1e9d52c5cc.tar.xz
Reworked some variables in entropy, load, mpd, net, init
Diffstat (limited to 'mpd.lua')
-rw-r--r--mpd.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpd.lua b/mpd.lua
index 3b6df3f..73412eb 100644
--- a/mpd.lua
+++ b/mpd.lua
@@ -28,10 +28,10 @@ local function worker(format)
end
-- Sanitize the song name
- nowplaying = helpers.escape(np)
+ local nowplaying = helpers.escape(np)
-- Don't abuse the wibox, truncate
- nowplaying = helpers.truncate(nowplaying, 30)
+ local nowplaying = helpers.truncate(nowplaying, 30)
return {nowplaying}
end