mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Minor bug fix.
svn path=/trunk/; revision=4073
This commit is contained in:
parent
9715d6594d
commit
6a14e674e4
2 changed files with 65 additions and 62 deletions
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: pointer.c,v 1.12 2002/09/30 19:45:19 dwelch Exp $
|
||||
/* $Id: pointer.c,v 1.13 2003/01/25 23:06:32 ei Exp $
|
||||
*
|
||||
* PROJECT: ReactOS VGA16 display driver
|
||||
* FILE: drivers/dd/vga/display/objects/pointer.c
|
||||
|
@ -186,9 +186,9 @@ DrvMovePointer(IN PSURFOBJ pso,
|
|||
{
|
||||
PPDEV ppdev = (PPDEV)pso->dhpdev;
|
||||
|
||||
if (x == -1)
|
||||
if (x < 0 )
|
||||
{
|
||||
/* x == -1 and y == -1 indicates we must hide the cursor */
|
||||
/* x < 0 and y < 0 indicates we must hide the cursor */
|
||||
VGADDI_HideCursor(ppdev);
|
||||
return;
|
||||
}
|
||||
|
@ -318,6 +318,7 @@ VGADDI_ShowCursor(PPDEV ppdev)
|
|||
/* Used to repaint background */
|
||||
SizeX = ((cx + ppdev->pPointerAttributes->Width) + 7) & ~0x7;
|
||||
SizeX -= (cx & ~0x7);
|
||||
|
||||
VGADDI_BltToSavedScreenBits(ImageBehindCursor,
|
||||
cx & ~0x7,
|
||||
cy,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: defwnd.c,v 1.17 2003/01/24 22:42:15 jfilby Exp $
|
||||
/* $Id: defwnd.c,v 1.18 2003/01/25 23:05:36 ei Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS user32.dll
|
||||
|
@ -1569,6 +1569,8 @@ DefWindowProcW(HWND hWnd,
|
|||
wcscpy(WindowText, (PWSTR)lParam);
|
||||
SetPropW(hWnd, WindowTextAtom, WindowText);
|
||||
}
|
||||
//FIXME: return correct code
|
||||
return TRUE;
|
||||
|
||||
case WM_NCDESTROY:
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue