Fixed a problem with some columns being shorter in views and triggering

errors when trying to get values. Temporary fix that needs discussion
This commit is contained in:
Celine Mercier
2016-05-20 18:45:29 +02:00
parent 3b59043ea8
commit e681ca646d
2 changed files with 27 additions and 26 deletions

View File

@ -299,6 +299,7 @@ int update_lines(Obiview_p view, index_t line_count)
// Enlarge the column
if (obi_enlarge_column((view->columns)[i]) < 0)
return -1;
(((view->columns)[i])->header)->lines_used = line_count; // TODO Discuss, this means that columns are not truncated below the number of lines in the view. Maybe they should be to save place.
}
}