[jsword-devel] Problem reading first key of dictionaries

John Austin gpl.programs.info at gmail.com
Wed May 15 22:58:52 MST 2013


With And-Bible, reading of the first dictionary key of dictionaries is 
failing because of: dictbook.contains(key).

The fix is in JSword's AbstractKeyBackend.java:

     public boolean contains(Key key) {
         return indexOf(key) > 0;
     }

This should apparently be:

indexOf(key) >= 0;

This fixes the problem in And-Bible.

John




More information about the jsword-devel mailing list