Commit 75595264 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

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

Found by Ken Thomases.
parent dd573925
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment