BSD 4 development
[unix-history] / usr / src / cmd / troff / n7.c
index 55eac20..efef022 100644 (file)
@@ -665,7 +665,7 @@ int x;
                        continue;
                }
                if(j == ' '){
                        continue;
                }
                if(j == ' '){
-                       storeword(i,cwidth);
+                       storeword(i,width(i));  /* XXX */
                        continue;
                }
                break;
                        continue;
                }
                break;
@@ -699,7 +699,7 @@ g0:
                        if(hyp > (hyptr+NHYP-1))hyp = hyptr+NHYP-1;
                }
        }
                        if(hyp > (hyptr+NHYP-1))hyp = hyptr+NHYP-1;
                }
        }
-       storeword(i,cwidth);
+       storeword(i,width(i));  /* XXX */
 g1:
        j = (i = GETCH()) & CMASK;
        if(j != ' '){
 g1:
        j = (i = GETCH()) & CMASK;
        if(j != ' '){