public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Fix copy/paste typo in fhandler_console::scroll_buffer_screen
@ 2016-11-24 13:44 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2016-11-24 13:44 UTC (permalink / raw)
  To: cygwin-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=284bec317499b1d1f92b82b67d73f4995c9a20c1

commit 284bec317499b1d1f92b82b67d73f4995c9a20c1
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Thu Nov 24 14:43:52 2016 +0100

    Fix copy/paste typo in fhandler_console::scroll_buffer_screen
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/fhandler_console.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc
index 2d281e0..1162bfc 100644
--- a/winsup/cygwin/fhandler_console.cc
+++ b/winsup/cygwin/fhandler_console.cc
@@ -799,7 +799,7 @@ fhandler_console::scroll_buffer_screen (int x1, int y1, int x2, int y2, int xn,
   if (y1 >= 0)
     y1 += con.b.srWindow.Top;
   if (y2 >= 0)
-    y1 += con.b.srWindow.Top;
+    y2 += con.b.srWindow.Top;
   if (yn >= 0)
     yn += con.b.srWindow.Top;
   con.scroll_buffer (get_output_handle (), x1, y1, x2, y2, xn, yn);


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-11-24 13:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-24 13:44 [newlib-cygwin] Fix copy/paste typo in fhandler_console::scroll_buffer_screen Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).