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 16:04:35 +0200
commitc2bba8953c42640254ca579278dfdbbc79798caa (patch)
treed63b6a15a689b220b9164af0267b20fe626334d0 /mpd.lua
parent4d869a90dbd476305b09ed87e1614690913e4678 (diff)
downloadvicious-legacy-c2bba8953c42640254ca579278dfdbbc79798caa.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