BSD 4_3_Tahoe release
[unix-history] / usr / src / usr.lib / libplot / t4014 / subr.c
index 699cb26..7efaa49 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)subr.c     4.1 (Berkeley) 6/27/83";
+static char sccsid[] = "@(#)subr.c     4.2 (Berkeley) 7/15/87";
 #endif
 
 #include <stdio.h>
 #endif
 
 #include <stdio.h>
@@ -24,7 +24,7 @@ cont(x,y){
        hiy=(y>>7) & 037;
        lox = (x>>2)&037;
        loy=(y>>2)&037;
        hiy=(y>>7) & 037;
        lox = (x>>2)&037;
        loy=(y>>2)&037;
-       extra=x&03+(y<<2)&014;
+       extra=(x&03)+((y<<2)&014);
        n = (abs(hix-ohix) + abs(hiy-ohiy) + 6) / 12;
        if(hiy != ohiy){
                putch(hiy|040);
        n = (abs(hix-ohix) + abs(hiy-ohiy) + 6) / 12;
        if(hiy != ohiy){
                putch(hiy|040);