changeset 6773:ed16e189b9a5

(struct matrix_elt): Use int, not short. Use unsigned char for insertcount and deletecount. (INFINITY): Increase to 1000000.
author Richard M. Stallman <rms@gnu.org>
date Sat, 09 Apr 1994 20:38:25 +0000
parents 6e53158ad17d
children a29237d1fdca
files src/scroll.c
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/scroll.c	Sat Apr 09 19:34:45 1994 +0000
+++ b/src/scroll.c	Sat Apr 09 20:38:25 1994 +0000
@@ -31,27 +31,27 @@
 
 /* All costs measured in characters.
    So no cost can exceed the area of a frame, measured in characters.
-   Let's hope this is never more than 15000 characters.  */
+   Let's hope this is never more than 1000000 characters.  */
 
-#define INFINITY 15000
+#define INFINITY 1000000
 
 struct matrix_elt
   {
     /* Cost of outputting through this line
        if no insert/delete is done just above it.  */
-    short writecost;
+    int writecost;
     /* Cost of outputting through this line
        if an insert is done just above it.  */
-    short insertcost;
+    int insertcost;
     /* Cost of outputting through this line
        if a delete is done just above it.  */
-    short deletecost;
+    int deletecost;
     /* Number of inserts so far in this run of inserts,
        for the cost in insertcost.  */
-    char insertcount;
+    unsigned char insertcount;
     /* Number of deletes so far in this run of deletes,
        for the cost in deletecost.  */
-    char deletecount;
+    unsigned char deletecount;
   };