Alexander Nicolaysen Sørnes : riched20: Include selection bar size in POSFROMCHAR.
Alexandre Julliard
julliard at winehq.org
Tue Jan 15 07:47:09 CST 2008
Module: wine
Branch: master
Commit: eec14a4de6d5a485f059ee0764290dc0945fb268
URL: http://source.winehq.org/git/wine.git/?a=commit;h=eec14a4de6d5a485f059ee0764290dc0945fb268
Author: Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Date: Mon Jan 14 01:22:32 2008 +0100
riched20: Include selection bar size in POSFROMCHAR.
---
dlls/riched20/editor.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c
index 85ac5b2..1780541 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;
}
More information about the wine-cvs
mailing list