1 Jun
2023
1 Jun
'23
10:08 p.m.
From: Santino Mazza <smazza(a)codeweavers.com> --- 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 8bc1b8bcd2f..8a4a16a8c2b 100644 --- a/dlls/riched20/paint.c +++ b/dlls/riched20/paint.c @@ -1212,7 +1212,7 @@ void editor_ensure_visible( ME_TextEditor *editor, ME_Cursor *cursor ) ME_Paragraph *para = cursor->para; int x, y, yheight; - + if (!row) return; if (editor->scrollbars & ES_AUTOHSCROLL) { x = run->pt.x + ME_PointFromChar( editor, run, cursor->nOffset, TRUE ); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/2941