Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c2bab443
Commit
c2bab443
authored
Sep 30, 2008
by
Dylan Smith
Committed by
Alexandre Julliard
Oct 01, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
richedit: Made sure table row gap/offset is copied on append row.
parent
a3ac5ef0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
table.c
dlls/riched20/table.c
+5
-3
No files found.
dlls/riched20/table.c
View file @
c2bab443
...
...
@@ -392,9 +392,10 @@ ME_DisplayItem* ME_AppendTableRow(ME_TextEditor *editor,
assert
(
table_row
);
assert
(
table_row
->
type
==
diParagraph
);
if
(
!
editor
->
bEmulateVersion10
)
{
/* v4.1 */
ME_DisplayItem
*
insertedCell
,
*
para
,
*
cell
;
ME_DisplayItem
*
insertedCell
,
*
para
,
*
cell
,
*
prevTableEnd
;
cell
=
ME_FindItemFwd
(
ME_GetTableRowStart
(
table_row
),
diCell
);
run
=
ME_GetTableRowEnd
(
table_row
)
->
member
.
para
.
next_para
;
prevTableEnd
=
ME_GetTableRowEnd
(
table_row
);
run
=
prevTableEnd
->
member
.
para
.
next_para
;
run
=
ME_FindItemFwd
(
run
,
diRun
);
editor
->
pCursors
[
0
].
pRun
=
run
;
editor
->
pCursors
[
0
].
nOffset
=
0
;
...
...
@@ -412,7 +413,8 @@ ME_DisplayItem* ME_AppendTableRow(ME_TextEditor *editor,
insertedCell
->
member
.
cell
.
nRightBoundary
=
cell
->
member
.
cell
.
nRightBoundary
;
insertedCell
->
member
.
cell
.
border
=
cell
->
member
.
cell
.
border
;
};
ME_InsertTableRowEndFromCursor
(
editor
);
para
=
ME_InsertTableRowEndFromCursor
(
editor
);
*
para
->
member
.
para
.
pFmt
=
*
prevTableEnd
->
member
.
para
.
pFmt
;
/* return the table row start for the inserted paragraph */
return
ME_FindItemFwd
(
cell
,
diParagraph
)
->
member
.
para
.
next_para
;
}
else
{
/* v1.0 - 3.0 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment