Author: bklaas
Date: Mon Nov 24 14:01:05 2008
New Revision: 3434

URL: http://svn.slimdevices.com?rev=3434&root=Jive&view=rev
Log:
Bug: 10123
Description: make sure count variable is a number and not a string

Modified:
    
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/NowPlaying/NowPlayingApplet.lua

Modified: 
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/NowPlaying/NowPlayingApplet.lua
URL: 
http://svn.slimdevices.com/7.3/trunk/squeezeplay/src/squeezeplay/share/applets/NowPlaying/NowPlayingApplet.lua?rev=3434&root=Jive&r1=3433&r2=3434&view=diff
==============================================================================
--- 
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/NowPlaying/NowPlayingApplet.lua
 (original)
+++ 
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/NowPlaying/NowPlayingApplet.lua
 Mon Nov 24 14:01:05 2008
@@ -375,7 +375,7 @@
 
 function _updatePlaylist(self, enabled, nr, count, ws)
        if not ws then ws = self[windowStyle] end
-       if enabled == true and count and count > 1 then
+       if enabled == true and count and tonumber(count) > 1 then
                nr = nr + 1
                ws.titleGroup:setWidgetValue("playlist", 
self:string("SCREENSAVER_NOWPLAYING_OF", nr, count))
        else 

_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins

Reply via email to