diff options
author | Sebastian Geerken <devnull@localhost> | 2015-01-07 21:50:30 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2015-01-07 21:50:30 +0100 |
commit | 4715daf73cd745801620ba04ebd9e4d2d0f20bda (patch) | |
tree | c321e10517ef773e68e648ba614cb8075c1597ea /dw/table.cc | |
parent | 39d348d1894f9c3bbe0d0e1a44bff8b978a7df9c (diff) |
Fixed segfault.
Diffstat (limited to 'dw/table.cc')
-rw-r--r-- | dw/table.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/table.cc b/dw/table.cc index 4cf4c196..4ceb4020 100644 --- a/dw/table.cc +++ b/dw/table.cc @@ -806,7 +806,7 @@ void Table::forceCalcCellSizes (bool calcHeights) for (col2 = col - 1; col2 >= 0 && cell == NULL; col2--) { int n2 = row * numCols + col2; Child *child2 = children->get(n2); - if (child2->type == Child::CELL) + if (child2 != NULL && child2->type == Child::CELL) cell = child2->cell.widget; } break; |