replace NtGdiSelectObject with NtGdiSelectBitmap in dibobj.c
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Fri, 30 Nov 2007 02:22:34 +0000 (02:22 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Fri, 30 Nov 2007 02:22:34 +0000 (02:22 +0000)
svn path=/trunk/; revision=30907

reactos/subsystems/win32/win32k/objects/dibobj.c

index afe22a0..0e25863 100644 (file)
@@ -747,7 +747,7 @@ INT STDCALL NtGdiStretchDIBits(HDC  hDC,
    hdcMem = NtGdiCreateCompatibleDC(hDC);
    hBitmap = NtGdiCreateCompatibleBitmap(hDC, BitsInfo->bmiHeader.biWidth,
                                          BitsInfo->bmiHeader.biHeight);
-   hOldBitmap = NtGdiSelectObject(hdcMem, hBitmap);
+   hOldBitmap = NtGdiSelectBitmap(hdcMem, hBitmap);
 
    if(Usage == DIB_PAL_COLORS)
    {
@@ -785,7 +785,7 @@ INT STDCALL NtGdiStretchDIBits(HDC  hDC,
    if(hPal)
       NtUserSelectPalette(hdcMem, hPal, FALSE);
 
-   NtGdiSelectObject(hdcMem, hOldBitmap);
+   NtGdiSelectBitmap(hdcMem, hOldBitmap);
    NtGdiDeleteObjectApp(hdcMem);
    NtGdiDeleteObject(hBitmap);