diff options
author | Alexander Yakushev <yakushev.alex@gmail.com> | 2011-07-30 14:44:15 +0300 |
---|---|---|
committer | Alexander Yakushev <yakushev.alex@gmail.com> | 2011-07-30 14:44:43 +0300 |
commit | a2505707458e7a8af53d9a2e55e1dfac61f6b401 (patch) | |
tree | 94a01b40e6907bf72a8a66e17da440bafdff12e5 /awesompd.lua | |
parent | 249f3d20563f3a4a22c9a91214136585f9e390b8 (diff) | |
download | awesompd-a2505707458e7a8af53d9a2e55e1dfac61f6b401.tar.gz awesompd-a2505707458e7a8af53d9a2e55e1dfac61f6b401.tar.bz2 |
Minor bugfixes
Diffstat (limited to 'awesompd.lua')
-rw-r--r-- | awesompd.lua | 2 |
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( |