Fix: assert in LINE_CLINES case.

This commit is contained in:
Kolan Sh 2014-08-01 14:39:26 +04:00
parent 6bd5f74bdd
commit 763bae902d
1 changed files with 3 additions and 0 deletions

View File

@ -265,6 +265,9 @@ namespace LAview {
}
break;
case Row.LinesType.CLINES:
/* #85 Assert in LINE_CLINES case */
if (row.size == 0 && subtable.size == 0)
break;
var tmp_row = row.size != 0 ? row : subtable.get (subtable.size - 1) as Row;
unowned List<int> clines_p = clines.first ();
foreach (var cell in tmp_row as Gee.ArrayList<Cell>) {