diff options
author | 2005-11-11 18:40:51 +0000 | |
---|---|---|
committer | 2005-11-11 18:40:51 +0000 | |
commit | 0cb9f04838a82337c530094a292fcd3a801332c5 (patch) | |
tree | ee4429f777c1264fb6cfa30062ecc23e9e448b8f | |
parent | Enable some of the more common editing keybindings in the minibuffer. (diff) | |
download | wireguard-openbsd-0cb9f04838a82337c530094a292fcd3a801332c5.tar.xz wireguard-openbsd-0cb9f04838a82337c530094a292fcd3a801332c5.zip |
spacing
-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) { |