- bool usecaption = (rowinfo[row].type == LT_NORMAL ||
- rowinfo[row].type == LT_FIRSTHEAD);
- for (size_t r = 0; r < row && usecaption; ++r)
- if (rowinfo[row].type != LT_NORMAL &&
- rowinfo[row].type != LT_FIRSTHEAD)
- usecaption = false;
- if (usecaption) {
- rowinfo[row].caption = true;
- for (size_t c = 1; c < cells.size(); ++c) {
- if (!cells[c].empty()) {
- cerr << "Moving cell content '"
- << cells[c]
- << "' into the caption cell. "
- "This will probably not work."
- << endl;
- cells[0] += cells[c];
- }
+ rowinfo[row].caption = true;
+ for (size_t c = 1; c < cells.size(); ++c) {
+ if (!cells[c].empty()) {
+ cerr << "Moving cell content '"
+ << cells[c]
+ << "' into the caption cell. "
+ "This will probably not work."
+ << endl;
+ cells[0] += cells[c];