fix typo (was ==, should be =)
authorChris Torek <torek@ucbvax.Berkeley.EDU>
Thu, 7 Feb 1991 14:55:11 +0000 (06:55 -0800)
committerChris Torek <torek@ucbvax.Berkeley.EDU>
Thu, 7 Feb 1991 14:55:11 +0000 (06:55 -0800)
SCCS-vsn: usr.bin/fpr/fpr.c 5.4

usr/src/usr.bin/fpr/fpr.c

index d474a18..c5a42be 100644 (file)
@@ -15,7 +15,7 @@ char copyright[] =
 #endif /* not lint */
 
 #ifndef lint
 #endif /* not lint */
 
 #ifndef lint
-static char sccsid[] = "@(#)fpr.c      5.3 (Berkeley) %G%";
+static char sccsid[] = "@(#)fpr.c      5.4 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <stdio.h>
 #endif /* not lint */
 
 #include <stdio.h>
@@ -330,7 +330,7 @@ flush()
       i = length;
       while (i > 0 && text[i-1] == BLANK)
        i--;
       i = length;
       while (i > 0 && text[i-1] == BLANK)
        i--;
-      length == i;
+      length = i;
       for (i = 0; i < length; i++)
        putchar(text[i]);
       putchar(EOL);
       for (i = 0; i < length; i++)
        putchar(text[i]);
       putchar(EOL);