Ignore:
Timestamp:
Oct 9, 2000, 4:22:57 AM (25 years ago)
Author:
phaller
Message:

Fix for left margin of console

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/conbuffer.cpp

    r2984 r4461  
    1 /* $Id: conbuffer.cpp,v 1.10 2000-03-03 11:15:56 sandervl Exp $ */
     1/* $Id: conbuffer.cpp,v 1.11 2000-10-09 02:22:57 phaller Exp $ */
    22
    33/*
     
    23692369    if ( (psrctWindowRect->Left   < 0) ||          /* check parameters first */
    23702370         (psrctWindowRect->Top    < 0) ||
    2371          (psrctWindowRect->Right  < 0) ||
    2372          (psrctWindowRect->Bottom < 0) ||
    23732371         (psrctWindowRect->Right  <= psrctWindowRect->Left) ||
    23742372         (psrctWindowRect->Bottom <= psrctWindowRect->Top)
     
    26262624
    26272625                                /* calculate pointer to start of screen line */
    2628     pszTarget = pConsoleBuffer->ppszLine[ulWriteY] + psrctDestRect->Left;
     2626    pszTarget = pConsoleBuffer->ppszLine[ulWriteY] + psrctDestRect->Left << 1;
    26292627
    26302628    for (ulX = 0,
     
    27322730
    27332731                                /* calculate pointer to start of screen line */
    2734     pszTarget = pConsoleBuffer->ppszLine[ulWriteY] + psrctDestRect->Left;
     2732    pszTarget = pConsoleBuffer->ppszLine[ulWriteY] + psrctDestRect->Left << 1;
    27352733
    27362734    for (ulX = 0,
Note: See TracChangeset for help on using the changeset viewer.