From eec14a4de6d5a485f059ee0764290dc0945fb268 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Mon, 14 Jan 2008 01:22:32 +0100 Subject: [PATCH] riched20: Include selection bar size in POSFROMCHAR. --- dlls/riched20/editor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c index 85ac5b2fa13..178054173c3 100644 --- a/dlls/riched20/editor.c +++ b/dlls/riched20/editor.c @@ -2393,6 +2393,7 @@ static LRESULT RichEditWndProc_common(HWND hWnd, UINT msg, WPARAM wParam, pt.x = 0; pt.y = editor->pBuffer->pLast->member.para.nYPos; } + pt.x += editor->selofs; if (wParam >= 0x40000) { *(POINTL *)wParam = pt; } -- 2.11.4.GIT