mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[CONSRV]: Fix erroneous X-offset when copying text lines.
svn path=/trunk/; revision=63586
This commit is contained in:
@@ -203,7 +203,7 @@ CopyLines(PTEXTMODE_SCREEN_BUFFER Buffer,
|
||||
xBeg = (yPos == Begin->Y ? Begin->X : 0);
|
||||
xEnd = (yPos == End->Y ? End->X : Buffer->ScreenBufferSize.X - 1);
|
||||
|
||||
ptr = ConioCoordToPointer(Buffer, xBeg, yPos);
|
||||
ptr = ConioCoordToPointer(Buffer, 0, yPos);
|
||||
|
||||
/* Copy only the characters, leave attributes alone */
|
||||
for (xPos = xBeg; (xPos <= xEnd) && (NumChars-- > 0); xPos++)
|
||||
|
||||
Reference in New Issue
Block a user