Author: mherger
Date: Wed Jan 30 13:32:20 2008
New Revision: 1707
URL: http://svn.slimdevices.com?rev=1707&root=Jive&view=rev
Log:
Bug: 6865
Description: no need to subtract 1, as the block is 0 based
Modified:
branches/7.0/jive/src/pkg/jive/share/applets/SlimBrowser/DB.lua
Modified: branches/7.0/jive/src/pkg/jive/share/applets/SlimBrowser/DB.lua
URL:
http://svn.slimdevices.com/branches/7.0/jive/src/pkg/jive/share/applets/SlimBrowser/DB.lua?rev=1707&root=Jive&r1=1706&r2=1707&view=diff
==============================================================================
--- branches/7.0/jive/src/pkg/jive/share/applets/SlimBrowser/DB.lua (original)
+++ branches/7.0/jive/src/pkg/jive/share/applets/SlimBrowser/DB.lua Wed Jan 30
13:32:20 2008
@@ -248,9 +248,9 @@
for key = fromKey, toKey, step do
if not self.store[key] then
local idx = key * BLOCK_SIZE
- -- outside world is 0 based!
+
log:debug(self, " missing ", BLOCK_SIZE, " items from
pos ", idx)
- return idx - 1, BLOCK_SIZE
+ return idx, BLOCK_SIZE
end
end
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins