I/1H\$Hl$Ld$Ll$ Lt$(L|$0H8M

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26376 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2008-09-12 17:25:11 +00:00
parent 5c6f3fbf02
commit a3392f4088

View File

@ -1011,9 +1011,9 @@ void Tabular::setColumnPWidth(Cursor & cur, idx_type cell,
bool Tabular::setFixedWidth(row_type r, col_type c)
{
if (!column_info[c].p_width.zero() ||
(cell_info[r][c].multicolumn != CELL_NORMAL &&
!cell_info[r][c].p_width.zero())) {
bool const multicol = cell_info[r][c].multicolumn != CELL_NORMAL;
if ((!column_info[c].p_width.zero() && !multicol)
|| (multicol && !cell_info[r][c].p_width.zero())) {
cell_info[r][c].inset->toggleFixedWidth(true);
return true;
}