user32: Points for IMR_QUERYCHARPOSITION need to be in screen coordinates.

Found by Ken Thomases.
This commit is contained in:
Aric Stewart 2013-05-15 12:40:43 -05:00 committed by Alexandre Julliard
parent dd573925e5
commit 7559526438
1 changed files with 2 additions and 0 deletions

View File

@ -5182,6 +5182,8 @@ LRESULT EditWndProc_common( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam, B
chpos->pt.y = HIWORD(pos);
chpos->cLineHeight = es->line_height;
chpos->rcDocument = es->format_rect;
MapWindowPoints(hwnd, 0, &chpos->pt, 1);
MapWindowPoints(hwnd, 0, (POINT*)&chpos->rcDocument, 2);
result = 1;
break;
}