[PATCH 5/5] richedit: Use the correct ptr to the cell.

Huw Davies huw at codeweavers.com
Mon Oct 19 06:21:20 CDT 2020


Signed-off-by: Huw Davies <huw at codeweavers.com>
---
 dlls/riched20/writer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/riched20/writer.c b/dlls/riched20/writer.c
index 6f5bb4e1f83..bdbf022a405 100644
--- a/dlls/riched20/writer.c
+++ b/dlls/riched20/writer.c
@@ -337,7 +337,7 @@ ME_StreamOutRTFFontAndColorTbl(ME_OutStream *pStream, ME_DisplayItem *pFirstRun,
       if (item->member.run.para->fmt.wNumbering)
         add_font_to_fonttbl( pStream, item->member.run.para->para_num.style );
 
-      if ((pCell = item->member.para.pCell))
+      if ((pCell = item->member.run.para->pCell))
       {
         ME_Border* borders[4] = { &pCell->member.cell.border.top,
                                   &pCell->member.cell.border.left,
-- 
2.23.0




More information about the wine-devel mailing list