]> gitweb.fperrin.net Git - DictionaryPC.git/blobdiff - src/com/hughes/android/dictionary/engine/IndexBuilder.java
HtmlEntries don't count as main entries.
[DictionaryPC.git] / src / com / hughes / android / dictionary / engine / IndexBuilder.java
index 9fe234b7c7723c80ec11c02446a3bbdde84cd3a3..a7bf561c3d9f5d331d1fb3b8d0b5db5825ea39d6 100644 (file)
@@ -54,7 +54,7 @@ public class IndexBuilder {
       
       TokenRow tokenRow = null;
       if (!tokenData.htmlEntries.isEmpty()) {
-          tokenRow = new TokenRow(indexIndex, rows.size(), index, /* hasMainEntry */ true);
+          tokenRow = new TokenRow(indexIndex, rows.size(), index, tokenData.hasMainEntry);
           rows.add(tokenRow);
       }