Commit 3c10a3ef authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

riched20: Use a cell helper in the split paragraph undo function.

parent 04158801
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment