diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2007-03-20 03:56:14 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2007-03-20 03:56:14 +0000 |
commit | 5efa0f0e0b4cfb776c527aae961a39413b8bd001 (patch) | |
tree | 391fd7381dadfa7dea2ac39aab3bdfdc11f42339 /usr.bin/vi/common | |
parent | 9811dd20491d71b86c6029003d05fb8022093320 (diff) |
remove some bogus *p tests from charles longeau
ok deraadt millert
Diffstat (limited to 'usr.bin/vi/common')
-rw-r--r-- | usr.bin/vi/common/msg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/vi/common/msg.c b/usr.bin/vi/common/msg.c index a1a9827ad9d..61d5efefa62 100644 --- a/usr.bin/vi/common/msg.c +++ b/usr.bin/vi/common/msg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: msg.c,v 1.16 2006/03/11 06:58:00 ray Exp $ */ +/* $OpenBSD: msg.c,v 1.17 2007/03/20 03:56:13 tedu Exp $ */ /*- * Copyright (c) 1991, 1993, 1994 @@ -202,7 +202,7 @@ retry: FREE_SPACE(sp, bp, blen); ++p; continue; } - for (u = p; *++p != '\0' && isdigit(*p);); + for (u = p; isdigit(*++p);); if (*p != '$') continue; |