4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-03-01 20:45:37 +08:00

Fix copy/paste typo in fhandler_console::scroll_buffer_screen

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2016-11-24 14:43:52 +01:00
parent f993cb708b
commit 284bec3174

View File

@ -799,7 +799,7 @@ fhandler_console::scroll_buffer_screen (int x1, int y1, int x2, int y2, int xn,
if (y1 >= 0) if (y1 >= 0)
y1 += con.b.srWindow.Top; y1 += con.b.srWindow.Top;
if (y2 >= 0) if (y2 >= 0)
y1 += con.b.srWindow.Top; y2 += con.b.srWindow.Top;
if (yn >= 0) if (yn >= 0)
yn += con.b.srWindow.Top; yn += con.b.srWindow.Top;
con.scroll_buffer (get_output_handle (), x1, y1, x2, y2, xn, yn); con.scroll_buffer (get_output_handle (), x1, y1, x2, y2, xn, yn);