[jsword-devel] Problem reading first key of dictionaries

DM Smith dmsmith at crosswire.org
Thu May 16 06:03:44 MST 2013


Thanks.
Some of the dictionaries have an intro for the first entry or have an empty first entry. My guess is that this attempted to account for that.

In Him,
	DM

On May 16, 2013, at 1:58 AM, John Austin <gpl.programs.info at gmail.com> wrote:

> 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
> 
> 
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel




More information about the jsword-devel mailing list