chiark / gitweb /
*** empty log message ***
[sympathy.git] / src / crt.c
index b3d13f5a885a43fef598d289a662fd2187ece7c4..67d883555a8bc3741abfcc5dedb14fdf4dfd7972 100644 (file)
--- a/src/crt.c
+++ b/src/crt.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
 
 /*
  * $Log$
+ * Revision 1.8  2008/02/07 13:19:48  james
+ * *** empty log message ***
+ *
  * Revision 1.7  2008/02/07 12:41:06  james
  * *** empty log message ***
  *
@@ -70,13 +73,14 @@ crt_scroll_up (CRT * c, CRT_Pos s, CRT_Pos e, int ea)
   int l, n;
   int p;
 
-  c->sh.s=s;
-  c->sh.e=e;
-  c->sh.dir=-1;
 
   s.x = 0;
   e.x = CRT_COLS - 1;
 
+  c->sh.s=s;
+  c->sh.e=e;
+  c->sh.dir=-1;
+
   l = e.x - s.x;
   l++;
   l *= sizeof (CRT_CA);
@@ -103,14 +107,13 @@ crt_scroll_down (CRT * c, CRT_Pos s, CRT_Pos e, int ea)
   int l, n;
   int p;
 
+  s.x = 0;
+  e.x = CRT_COLS - 1;
+
   c->sh.s=s;
   c->sh.e=e;
   c->sh.dir=1;
 
-
-  s.x = 0;
-  e.x = CRT_COLS - 1;
-
   l = e.x - s.x;
   l++;
   l *= sizeof (CRT_CA);