Fix: assert in LINE_CLINES case.
This commit is contained in:
parent
6bd5f74bdd
commit
763bae902d
|
@ -265,6 +265,9 @@ namespace LAview {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case Row.LinesType.CLINES:
|
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;
|
var tmp_row = row.size != 0 ? row : subtable.get (subtable.size - 1) as Row;
|
||||||
unowned List<int> clines_p = clines.first ();
|
unowned List<int> clines_p = clines.first ();
|
||||||
foreach (var cell in tmp_row as Gee.ArrayList<Cell>) {
|
foreach (var cell in tmp_row as Gee.ArrayList<Cell>) {
|
||||||
|
|
Loading…
Reference in New Issue