Author: bklaas
Date: Mon May 18 14:51:10 2009
New Revision: 5772
URL: http://svn.slimdevices.com/jive?rev=5772&view=rev
Log:
Bug: 12083
Description: if we are returning the bottom key, self.downCompleted is true
if we are returning the top key, self.upCompleted is true
Modified:
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/DB.lua
Modified: 7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/DB.lua
URL:
http://svn.slimdevices.com/jive/7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/DB.lua?rev=5772&r1=5771&r2=5772&view=diff
==============================================================================
--- 7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/DB.lua
(original)
+++ 7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/DB.lua Mon
May 18 14:51:10 2009
@@ -305,6 +305,9 @@
for key = fromKey, toKey, step do
if not self.store[key] then
local thisChunkFrom = key * BLOCK_SIZE
+ if key == toKey then
+ self.upCompleted = true
+ end
return thisChunkFrom, BLOCK_SIZE
end
end
@@ -320,6 +323,9 @@
for key = fromKey, toKey, step do
if not self.store[key] then
local thisChunkFrom = key * BLOCK_SIZE
+ if key == toKey then
+ self.downCompleted = true
+ end
return thisChunkFrom, BLOCK_SIZE
end
end
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins