mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
fix a typo
svn path=/trunk/; revision=20617
This commit is contained in:
parent
e019f15048
commit
41e42de943
1 changed files with 2 additions and 1 deletions
|
@ -496,6 +496,7 @@ return TRUE;
|
|||
}
|
||||
|
||||
//NOTE: If you change something here, please do the same in other dibXXbpp.c files!
|
||||
|
||||
BOOLEAN DIB_1BPP_StretchBlt(SURFOBJ *DestSurf, SURFOBJ *SourceSurf,
|
||||
RECTL* DestRect, RECTL *SourceRect,
|
||||
POINTL* MaskOrigin, POINTL BrushOrigin,
|
||||
|
@ -533,7 +534,7 @@ BOOLEAN DIB_1BPP_StretchBlt(SURFOBJ *DestSurf, SURFOBJ *SourceSurf,
|
|||
sx = (((DesX - DestRect->left) * SrcSizeX) / DesSizeX) + SourceRect->left;
|
||||
|
||||
color = DIB_1BPP_GetPixel(SourceSurf, sx, sy);
|
||||
DIB_1BPP_PutPixel(DestSurf, DesX, DesY, XLATEOBJ_iXlate(ColorTranslation, 0));
|
||||
DIB_1BPP_PutPixel(DestSurf, DesX, DesY, XLATEOBJ_iXlate(ColorTranslation, color));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue