diff options
author | Christopher Faylor <me@cgf.cx> | 2014-02-23 03:42:02 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2014-02-23 03:42:02 +0000 |
commit | 7cb7f645d56df661c875d8f8e0e35ffc3fabec1f (patch) | |
tree | 192096087e369cc1ea45205131456c8af345edcd /winsup/cygwin/fhandler_console.cc | |
parent | f1d9e96c44234123292ba38d731d37caafb87608 (diff) | |
download | cygnal-7cb7f645d56df661c875d8f8e0e35ffc3fabec1f.tar.gz cygnal-7cb7f645d56df661c875d8f8e0e35ffc3fabec1f.tar.bz2 cygnal-7cb7f645d56df661c875d8f8e0e35ffc3fabec1f.zip |
* dev_console::scroll_buffer): Reinstate clipping region.
Diffstat (limited to 'winsup/cygwin/fhandler_console.cc')
-rw-r--r-- | winsup/cygwin/fhandler_console.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc index 056efe410..0bee291bd 100644 --- a/winsup/cygwin/fhandler_console.cc +++ b/winsup/cygwin/fhandler_console.cc @@ -791,7 +791,7 @@ dev_console::scroll_buffer (HANDLE h, int x1, int y1, int x2, int y2, int xn, in sr1.Bottom = sr2.Bottom; dest.X = xn >= 0 ? xn : dwWinSize.X - 1; dest.Y = yn >= 0 ? yn : winBottom; - ScrollConsoleScreenBuffer (h, &sr1, NULL, dest, &fill); + ScrollConsoleScreenBuffer (h, &sr1, &sr2, dest, &fill); #if 0 /* CGF: 2014-01-04 Assuming that we don't need this anymore */ /* ScrollConsoleScreenBuffer on Windows 95 is buggy - when scroll distance |