]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - src/com/hughes/android/dictionary/engine/RowBase.java
First decent implementation of HtmlEntry attached to TokenRow.
[Dictionary.git] / src / com / hughes / android / dictionary / engine / RowBase.java
index 907bb3a83bd62ea7a65dcc63f54f8f06857db63f..c83c7cdbd5022d7c59895d98b85164258a67a1bc 100644 (file)
@@ -148,7 +148,7 @@ public abstract class RowBase extends IndexedObject {
       if (rowType == 0) {
         return new PairEntry.Row(raf, listIndex, index);
       } else if (rowType == 1 || rowType == 3) {
-        return new TokenRow(raf, listIndex, index, rowType == 1);
+        return new TokenRow(raf, listIndex, index, /* hasMainEntry */ rowType == 1);
       } else if (rowType == 2) {
         return new TextEntry.Row(raf, listIndex, index);
       } else if (rowType == 4) {