There was still a bug searching. One more fixed.
--- a/src/jdict/DictIndex.java Tue Aug 07 21:28:54 2007 +0200
+++ b/src/jdict/DictIndex.java Wed Aug 08 23:09:44 2007 +0200
@@ -385,7 +385,7 @@
continue;
}
int comparision = word.compareTo(test);
- /*System.out.println("Comparing to " + test);*/
+ System.out.println("Comparing to " + test);
if (comparision <= 0)
{
/* If == 0, then we don't know that it is the
@@ -417,9 +417,9 @@
System.out.println("Seek from start error");
return results;
}
+ readUntilNewLine();
}
- readUntilNewLine();
/* Add the prefixes */
SearchNextPrefixes(results, word, 49); /* Max 50 prefixes. Match+nexts*/