r=pedemont, sr=blizzard
OS/2 only - Need a cast for mouse position values
This commit is contained in:
mkaply%us.ibm.com 2003-07-28 21:32:11 +00:00
Родитель e2e733b5de
Коммит 79965b5b97
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -2912,8 +2912,8 @@ PRBool nsWindow::DispatchMouseEvent( PRUint32 aEventType, MPARAM mp1, MPARAM mp2
WinQueryPointerPos(HWND_DESKTOP, &ptl);
WinMapWindowPoints( HWND_DESKTOP, mWnd, &ptl, 1 );
} else {
ptl.x = SHORT1FROMMP(mp1);
ptl.y = SHORT2FROMMP(mp1);
ptl.x = (SHORT)SHORT1FROMMP(mp1);
ptl.y = (SHORT)SHORT2FROMMP(mp1);
}
PM2NS(ptl);
nsPoint pt( ptl.x, ptl.y);