From f65d8f91403748bd60352acc632fc9b1a51c9233 Mon Sep 17 00:00:00 2001 From: Kamil Hornicek Date: Fri, 8 Sep 2017 20:20:34 +0000 Subject: [PATCH] [WIN32SS|KBDHID] - fix some typos and copypastas svn path=/trunk/; revision=75800 --- reactos/drivers/hid/kbdhid/kbdhid.c | 2 +- reactos/win32ss/gdi/gdi32/objects/bitmap.c | 2 +- reactos/win32ss/gdi/ntgdi/bitblt.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/reactos/drivers/hid/kbdhid/kbdhid.c b/reactos/drivers/hid/kbdhid/kbdhid.c index 20c3a1f1115..4b240a46afd 100644 --- a/reactos/drivers/hid/kbdhid/kbdhid.c +++ b/reactos/drivers/hid/kbdhid/kbdhid.c @@ -372,7 +372,7 @@ KbdHid_InternalDeviceControl( if (IoStack->Parameters.DeviceIoControl.OutputBufferLength < sizeof(MOUSE_ATTRIBUTES)) { /* invalid request */ - DPRINT1("[MOUHID] IOCTL_MOUSE_QUERY_ATTRIBUTES Buffer too small\n"); + DPRINT1("[KBDHID] IOCTL_KEYBOARD_QUERY_ATTRIBUTES Buffer too small\n"); Irp->IoStatus.Status = STATUS_BUFFER_TOO_SMALL; IoCompleteRequest(Irp, IO_NO_INCREMENT); return STATUS_BUFFER_TOO_SMALL; diff --git a/reactos/win32ss/gdi/gdi32/objects/bitmap.c b/reactos/win32ss/gdi/gdi32/objects/bitmap.c index 7ca2bbb9402..82768f8b338 100644 --- a/reactos/win32ss/gdi/gdi32/objects/bitmap.c +++ b/reactos/win32ss/gdi/gdi32/objects/bitmap.c @@ -436,7 +436,7 @@ CreateDIBitmap( /* CBM_CREATDIB needs Data. */ if (pbmiConverted == NULL) { - DPRINT1("CBM_CREATDIB needs a BITMAINFO!\n"); + DPRINT1("CBM_CREATDIB needs a BITMAPINFO!\n"); goto Exit; } diff --git a/reactos/win32ss/gdi/ntgdi/bitblt.c b/reactos/win32ss/gdi/ntgdi/bitblt.c index 26d86a0738c..70b0669c172 100644 --- a/reactos/win32ss/gdi/ntgdi/bitblt.c +++ b/reactos/win32ss/gdi/ntgdi/bitblt.c @@ -382,7 +382,7 @@ NtGdiMaskBlt( ahDC[1] = UsesSource ? hdcSrc : NULL; if (!GDIOBJ_bLockMultipleObjects(2, (HGDIOBJ*)ahDC, apObj, GDIObjType_DC_TYPE)) { - WARN("Invalid dc handle (dest=0x%p, src=0x%p) passed to NtGdiAlphaBlend\n", hdcDest, hdcSrc); + WARN("Invalid dc handle (dest=0x%p, src=0x%p) passed to NtGdiMaskBlt\n", hdcDest, hdcSrc); EngSetLastError(ERROR_INVALID_HANDLE); return FALSE; } @@ -393,7 +393,7 @@ NtGdiMaskBlt( if (NULL == DCDest) { if(DCSrc) DC_UnlockDc(DCSrc); - WARN("Invalid destination dc handle (0x%p) passed to NtGdiBitBlt\n", hdcDest); + WARN("Invalid destination dc handle (0x%p) passed to NtGdiMaskBlt\n", hdcDest); return FALSE; }