riched20: Use a cell helper in the split paragraph undo function.
Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
04158801f9
commit
3c10a3eff7
|
@ -399,9 +399,8 @@ static void ME_PlayUndoItem(ME_TextEditor *editor, struct undo_item *undo)
|
|||
new_para->border = undo->u.split_para.border;
|
||||
if (paraFlags)
|
||||
{
|
||||
ME_DisplayItem *pCell = new_para->pCell;
|
||||
pCell->member.cell.nRightBoundary = undo->u.split_para.cell_right_boundary;
|
||||
pCell->member.cell.border = undo->u.split_para.cell_border;
|
||||
para_cell( new_para )->nRightBoundary = undo->u.split_para.cell_right_boundary;
|
||||
para_cell( new_para )->border = undo->u.split_para.cell_border;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue