Module: wine Branch: master Commit: ff1f3d76b73fe2cc4b9a980d9eb85d87e0b98e74 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ff1f3d76b73fe2cc4b9a980d9e...
Author: Dylan Smith dylan.ah.smith@gmail.com Date: Thu Aug 28 15:24:15 2008 -0400
richedit: Copy cell border properties when appending a row to the table.
---
dlls/riched20/table.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/riched20/table.c b/dlls/riched20/table.c index aa82c62..1e2f5fa 100644 --- a/dlls/riched20/table.c +++ b/dlls/riched20/table.c @@ -402,12 +402,14 @@ static ME_DisplayItem* ME_AppendTableRow(ME_TextEditor *editor, insertedCell = ME_FindItemFwd(para, diCell); /* Copy cell properties */ insertedCell->member.cell.nRightBoundary = cell->member.cell.nRightBoundary; + insertedCell->member.cell.border = cell->member.cell.border; while (cell->member.cell.next_cell) { cell = cell->member.cell.next_cell; para = ME_InsertTableCellFromCursor(editor); insertedCell = ME_FindItemBack(para, diCell); /* Copy cell properties */ insertedCell->member.cell.nRightBoundary = cell->member.cell.nRightBoundary; + insertedCell->member.cell.border = cell->member.cell.border; }; ME_InsertTableRowEndFromCursor(editor); /* return the table row start for the inserted paragraph */