Commit 5d179e4b authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

riched20: Use a helper to retrieve the first run.

parent 6b9b7b2d
......@@ -886,7 +886,7 @@ static void ME_WrapTextParagraph( ME_TextEditor *editor, ME_Context *c, ME_Parag
linespace = ME_GetParaLineSpace( c, para );
ME_BeginRow( &wc );
run = &ME_FindItemFwd( para_get_di( para ), diRun )->member.run;
run = para_first_run( para );
while (run)
{
run = ME_WrapHandleRun( &wc, run );
......
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