Author: titmuss
Date: Wed Jan 30 15:03:53 2008
New Revision: 1709

URL: http://svn.slimdevices.com?rev=1709&root=Jive&view=rev
Log:
 [EMAIL PROTECTED] (orig r1707):  mherger | 2008-01-30 21:32:20 +0000
 Bug: 6865
 Description: no need to subtract 1, as the block is 0 based

Modified:
    trunk/   (props changed)
    trunk/jive/src/pkg/jive/share/applets/SlimBrowser/DB.lua

Propchange: trunk/
------------------------------------------------------------------------------
--- svk:merge (original)
+++ svk:merge Wed Jan 30 15:03:53 2008
@@ -1,3 +1,3 @@
-bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/7.0:1703
+bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/7.0:1707
 bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/SN:1083
 bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/scrolling:1378

Modified: trunk/jive/src/pkg/jive/share/applets/SlimBrowser/DB.lua
URL: 
http://svn.slimdevices.com/trunk/jive/src/pkg/jive/share/applets/SlimBrowser/DB.lua?rev=1709&root=Jive&r1=1708&r2=1709&view=diff
==============================================================================
--- trunk/jive/src/pkg/jive/share/applets/SlimBrowser/DB.lua (original)
+++ trunk/jive/src/pkg/jive/share/applets/SlimBrowser/DB.lua Wed Jan 30 
15:03:53 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

Reply via email to