fix bug 1748

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10341 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2005-07-20 00:10:56 +00:00
parent 10599628b3
commit c273557259
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-07-20 John Levon <levon@movementarian.org>
* tabular.C: fix 1748 - setting multicolumn adds
left line to the first cell
2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
bug 1920

View File

@ -1344,6 +1344,7 @@ void LyXTabular::setMultiColumn(Buffer * buffer, idx_type cell,
cs.alignment = column_info[column_of_cell(cell)].alignment;
cs.top_line = row_info[row_of_cell(cell)].top_line;
cs.bottom_line = row_info[row_of_cell(cell)].bottom_line;
cs.left_line = column_info[column_of_cell(cell)].left_line;
cs.right_line = column_info[column_of_cell(cell+number-1)].right_line;
for (idx_type i = 1; i < number; ++i) {
cellstruct & cs1 = cellinfo_of_cell(cell + i);