[jsword-svn] r1857 - trunk/jsword/src/main/java/org/crosswire/jsword/book/sword

dmsmith at www.crosswire.org dmsmith at www.crosswire.org
Mon May 12 09:10:30 MST 2008


Author: dmsmith
Date: 2008-05-12 09:10:29 -0700 (Mon, 12 May 2008)
New Revision: 1857

Modified:
   trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/RawLDBackend.java
Log:
Fixed a LD bug.

Modified: trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/RawLDBackend.java
===================================================================
--- trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/RawLDBackend.java	2008-05-12 11:53:53 UTC (rev 1856)
+++ trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/RawLDBackend.java	2008-05-12 16:10:29 UTC (rev 1857)
@@ -373,13 +373,14 @@
             return 0;
         }
 
-        return -(high - 1);
+        return -(high + 1);
     }
 
     /**
-     * Convert the Gregorian Calendar to a string.
+     * Convert the supplied key to something that can be understood by the module.
+     * 
      * @param externalKey
-     * @return
+     * @return the internal representation of the key.
      */
     private String external2internal(String externalKey)
     {




More information about the jsword-svn mailing list