aboutsummaryrefslogtreecommitdiff
path: root/awesompd.lua
diff options
context:
space:
mode:
authorAlexander Yakushev <yakushev.alex@gmail.com>2011-07-30 14:44:15 +0300
committerAlexander Yakushev <yakushev.alex@gmail.com>2011-07-30 14:44:43 +0300
commita2505707458e7a8af53d9a2e55e1dfac61f6b401 (patch)
tree94a01b40e6907bf72a8a66e17da440bafdff12e5 /awesompd.lua
parent249f3d20563f3a4a22c9a91214136585f9e390b8 (diff)
downloadawesompd-a2505707458e7a8af53d9a2e55e1dfac61f6b401.tar.gz
awesompd-a2505707458e7a8af53d9a2e55e1dfac61f6b401.tar.bz2
Minor bugfixes
Diffstat (limited to 'awesompd.lua')
-rw-r--r--awesompd.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/awesompd.lua b/awesompd.lua
index 3b11ad7..4e76258 100644
--- a/awesompd.lua
+++ b/awesompd.lua
@@ -367,7 +367,7 @@ function awesompd:get_playback_menu()
self:command_toggle(),
self.ICONS.PLAY_PAUSE })
if self.connected and self.status ~= "Stopped" then
- if self.current_number ~= 1 then
+ if self.list_array[self.current_number-1] then
table.insert(new_menu,
{ "Prev: " ..
awesompd.protect_string(jamendo.replace_link(