X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=sympathy.git;a=blobdiff_plain;f=src%2Fcrt.c;h=9d6606a15bcb148486987ee0353aa35ab59d0ca5;hp=b9174f9cdb7f5093e01749796d671b4d3e170fe6;hb=27d58d10ac6a8cab73476a3a6f03cb716fb9a723;hpb=8c545e672c902b0a6f1b0b525a6d568b2426b4ad diff --git a/src/crt.c b/src/crt.c index b9174f9..9d6606a 100644 --- a/src/crt.c +++ b/src/crt.c @@ -10,6 +10,9 @@ static char rcsid[] = "$Id$"; /* * $Log$ + * Revision 1.14 2008/02/27 00:27:21 james + * *** empty log message *** + * * Revision 1.13 2008/02/26 23:56:12 james * *** empty log message *** * @@ -141,14 +144,14 @@ crt_scroll_down (CRT * c, CRT_Pos s, CRT_Pos e, int ea, int color) l *= sizeof (CRT_CA); n = e.y - s.y; - n++; + //n++; p = CRT_ADDR_POS (&e); while (n--) { - memcpy (&c->screen[p], &c->screen[p - CRT_COLS], l); p -= CRT_COLS; + memcpy (&c->screen[p], &c->screen[p - CRT_COLS], l); } e.y = s.y;