diff options
Diffstat (limited to 'generators')
-rw-r--r-- | generators/qtdoc/qtdocgenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generators/qtdoc/qtdocgenerator.cpp b/generators/qtdoc/qtdocgenerator.cpp index 2eb8e2b..4f3a37b 100644 --- a/generators/qtdoc/qtdocgenerator.cpp +++ b/generators/qtdoc/qtdocgenerator.cpp @@ -769,7 +769,7 @@ QTextStream& operator<<(QTextStream& s, const QtXmlToSphinx::Table &table) s << INDENT << '+'; for (int col = 0, max = colWidths.count(); col < max; ++col) { char c; - if (row[col].rowSpan == -1) + if (col >= row.length() || row[col].rowSpan == -1) c = ' '; else if (i == 1 && table.hasHeader()) c = '='; |