Huw Davies : riched20: Use a helper function to find the first row.
Alexandre Julliard
julliard at winehq.org
Wed Oct 28 15:58:16 CDT 2020
Module: wine
Branch: master
Commit: b3b3624079da3efe24beb90ef88435042c79df9d
URL: https://source.winehq.org/git/wine.git/?a=commit;h=b3b3624079da3efe24beb90ef88435042c79df9d
Author: Huw Davies <huw at codeweavers.com>
Date: Wed Oct 28 08:43:50 2020 +0000
riched20: Use a helper function to find the first row.
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/riched20/paint.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/riched20/paint.c b/dlls/riched20/paint.c
index d3bbbc9d672..d15c47b72aa 100644
--- a/dlls/riched20/paint.c
+++ b/dlls/riched20/paint.c
@@ -846,7 +846,7 @@ static void draw_table_borders( ME_Context *c, ME_Paragraph *para )
rowY = c->pt.y + para->pt.y;
if (para->fmt.dwMask & PFM_SPACEBEFORE)
rowY += ME_twips2pointsY(c, para->fmt.dySpaceBefore);
- nHeight = ME_FindItemFwd( para_get_di( para ), diStartRow )->member.row.nHeight;
+ nHeight = para_first_row( para )->nHeight;
rowBottom = rowY + nHeight;
/* Draw horizontal lines */
More information about the wine-cvs
mailing list