riched20: Use a helper to retrieve the first run.
Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6b9b7b2d0b
commit
5d179e4b39
|
@ -886,7 +886,7 @@ static void ME_WrapTextParagraph( ME_TextEditor *editor, ME_Context *c, ME_Parag
|
||||||
linespace = ME_GetParaLineSpace( c, para );
|
linespace = ME_GetParaLineSpace( c, para );
|
||||||
|
|
||||||
ME_BeginRow( &wc );
|
ME_BeginRow( &wc );
|
||||||
run = &ME_FindItemFwd( para_get_di( para ), diRun )->member.run;
|
run = para_first_run( para );
|
||||||
while (run)
|
while (run)
|
||||||
{
|
{
|
||||||
run = ME_WrapHandleRun( &wc, run );
|
run = ME_WrapHandleRun( &wc, run );
|
||||||
|
|
Loading…
Reference in New Issue