diff options
-rw-r--r-- | src/index.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/index.cpp b/src/index.cpp index 84b5e51..5439987 100644 --- a/src/index.cpp +++ b/src/index.cpp @@ -2284,11 +2284,12 @@ static void writeAlphabeticalClassList(OutputList &ol, ClassDef::CompoundType ct } ol.writeNonBreakableSpace(3); } - ++(*colIterators[j]); - if (cell->letter()!=0 || cell->classDef()!=(ClassDef*)0x8) - { - ol.writeString("</td>"); + else + { + ol.writeString("<td>"); } + ++(*colIterators[j]); + ol.writeString("</td>"); } } else |