diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-11 18:40:52 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-11 18:40:52 +0000 |
commit | bec4a2de49b78f5c5be53ea1f1b0cdce3865038c (patch) | |
tree | b2d6d12310f5f92b7e0023006a9903651e47a236 /usr.bin | |
parent | c1749f7ff4b250d02c61a4ffd9d96d0e79189af3 (diff) |
spacing
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/mg/echo.c | 4 | ||||
-rw-r--r-- | usr.bin/mg/fileio.c | 4 | ||||
-rw-r--r-- | usr.bin/mg/grep.c | 4 | ||||
-rw-r--r-- | usr.bin/mg/word.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/mg/echo.c b/usr.bin/mg/echo.c index cbf0f7c1320..f78d4eff663 100644 --- a/usr.bin/mg/echo.c +++ b/usr.bin/mg/echo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: echo.c,v 1.38 2005/11/11 18:40:01 kjell Exp $ */ +/* $OpenBSD: echo.c,v 1.39 2005/11/11 18:40:51 deraadt Exp $ */ /* This file is in the public domain. */ @@ -229,7 +229,7 @@ veread(const char *fp, char *buf, size_t nbuf, int flag, va_list ap) continue; } } - switch (c) { + switch (c) { case CCHR('A'): /* start of line */ while (cpos > 0) { if (ISCTRL(buf[--cpos]) != FALSE) { diff --git a/usr.bin/mg/fileio.c b/usr.bin/mg/fileio.c index 06838eb01d9..013e5535aaf 100644 --- a/usr.bin/mg/fileio.c +++ b/usr.bin/mg/fileio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fileio.c,v 1.58 2005/10/18 04:07:06 kjell Exp $ */ +/* $OpenBSD: fileio.c,v 1.59 2005/11/11 18:40:51 deraadt Exp $ */ /* This file is in the public domain. */ @@ -292,7 +292,7 @@ adjustname(const char *fn) } if (ulen == 0) /* ~/ or ~ */ (void)strlcpy(user, getlogin(), sizeof(user)); - else { /* ~user/ or ~user */ + else { /* ~user/ or ~user */ memcpy(user, &fn[1], ulen); user[ulen] = '\0'; } diff --git a/usr.bin/mg/grep.c b/usr.bin/mg/grep.c index 75240d5dbc7..edd36e8192f 100644 --- a/usr.bin/mg/grep.c +++ b/usr.bin/mg/grep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grep.c,v 1.21 2005/10/18 21:22:52 kjell Exp $ */ +/* $OpenBSD: grep.c,v 1.22 2005/11/11 18:40:51 deraadt Exp $ */ /* * Copyright (c) 2001 Artur Grabowski <art@openbsd.org>. * Copyright (c) 2005 Kjell Wooding <kjell@openbsd.org>. @@ -291,7 +291,7 @@ compile_goto_error(int f, int n) compile_win = curwp; compile_buffer = curbp; last = lback(compile_buffer->b_linep); - + retry: /* last line is compilation result */ if (curwp->w_dotp == last) diff --git a/usr.bin/mg/word.c b/usr.bin/mg/word.c index baa62c5c22d..452a4dae7b3 100644 --- a/usr.bin/mg/word.c +++ b/usr.bin/mg/word.c @@ -1,4 +1,4 @@ -/* $OpenBSD: word.c,v 1.11 2005/10/17 20:08:48 kjell Exp $ */ +/* $OpenBSD: word.c,v 1.12 2005/11/11 18:40:51 deraadt Exp $ */ /* This file is in the public domain. */ @@ -85,7 +85,7 @@ upperword(int f, int n) } size = countfword(); undo_add_change(curwp->w_dotp, curwp->w_doto, size); - + while (inword() != FALSE) { c = lgetc(curwp->w_dotp, curwp->w_doto); if (ISLOWER(c) != FALSE) { |