ul/nroff conflict over accent marks; bug report 4.2BSD/ucb/153
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Thu, 30 Apr 1987 05:07:41 +0000 (21:07 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Thu, 30 Apr 1987 05:07:41 +0000 (21:07 -0800)
SCCS-vsn: usr.bin/ul/ul.c 5.3

usr/src/usr.bin/ul/ul.c

index 16e71ed..c0f74ee 100644 (file)
@@ -11,7 +11,7 @@ char copyright[] =
 #endif not lint
 
 #ifndef lint
 #endif not lint
 
 #ifndef lint
-static char sccsid[] = "@(#)ul.c       5.2 (Berkeley) %G%";
+static char sccsid[] = "@(#)ul.c       5.3 (Berkeley) %G%";
 #endif not lint
 
 #include <stdio.h>
 #endif not lint
 
 #include <stdio.h>
@@ -210,10 +210,8 @@ FILE *f;
                        obuf[col].c_mode |= UNDERL|mode;
                } else if (obuf[col].c_char == c)
                        obuf[col].c_mode |= BOLD|mode;
                        obuf[col].c_mode |= UNDERL|mode;
                } else if (obuf[col].c_char == c)
                        obuf[col].c_mode |= BOLD|mode;
-               else {
-                       obuf[col].c_char = c;
+               else
                        obuf[col].c_mode = mode;
                        obuf[col].c_mode = mode;
-               }
                col++;
                if (col > maxcol)
                        maxcol = col;
                col++;
                if (col > maxcol)
                        maxcol = col;