diff --git a/util/cmisc/ed.c b/util/cmisc/ed.c index e934be584..ab2407dc8 100644 --- a/util/cmisc/ed.c +++ b/util/cmisc/ed.c @@ -595,7 +595,7 @@ int glob; char *fptr; pflag = FALSE; - while (*inptr == SP && *inptr == HT) inptr++; + while (*inptr == SP || *inptr == HT) inptr++; c = *inptr++;