Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libedit fix typos from Pedro Giffuni @FreeBSD
details: https://anonhg.NetBSD.org/src/rev/b18bf5dd4f39
branches: trunk
changeset: 345013:b18bf5dd4f39
user: christos <christos%NetBSD.org@localhost>
date: Mon May 02 16:35:17 2016 +0000
description:
fix typos from Pedro Giffuni @FreeBSD
diffstat:
lib/libedit/chartype.h | 6 +++---
lib/libedit/refresh.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (52 lines):
diff -r b55aa3cb9b03 -r b18bf5dd4f39 lib/libedit/chartype.h
--- a/lib/libedit/chartype.h Mon May 02 16:02:24 2016 +0000
+++ b/lib/libedit/chartype.h Mon May 02 16:35:17 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: chartype.h,v 1.31 2016/04/11 18:56:31 christos Exp $ */
+/* $NetBSD: chartype.h,v 1.32 2016/05/02 16:35:17 christos Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -69,13 +69,13 @@
* The pointer returned must be free()d when done. */
protected wchar_t **ct_decode_argv(int, const char *[], ct_buffer_t *);
-/* Encode a characted into the destination buffer, provided there is sufficent
+/* Encode a character into the destination buffer, provided there is sufficient
* buffer space available. Returns the number of bytes used up (zero if the
* character cannot be encoded, -1 if there was not enough space available). */
protected ssize_t ct_encode_char(char *, size_t, wchar_t);
protected size_t ct_enc_width(wchar_t);
-/* The maximum buffer size to hold the most unwieldly visual representation,
+/* The maximum buffer size to hold the most unwieldy visual representation,
* in this case \U+nnnnn. */
#define VISUAL_WIDTH_MAX ((size_t)8)
diff -r b55aa3cb9b03 -r b18bf5dd4f39 lib/libedit/refresh.c
--- a/lib/libedit/refresh.c Mon May 02 16:02:24 2016 +0000
+++ b/lib/libedit/refresh.c Mon May 02 16:35:17 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: refresh.c,v 1.49 2016/04/11 18:56:31 christos Exp $ */
+/* $NetBSD: refresh.c,v 1.50 2016/05/02 16:35:17 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)refresh.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: refresh.c,v 1.49 2016/04/11 18:56:31 christos Exp $");
+__RCSID("$NetBSD: refresh.c,v 1.50 2016/05/02 16:35:17 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -563,7 +563,7 @@
nls = ++n;
/*
- * find same begining and same end
+ * find same beginning and same end
*/
osb = ols;
nsb = nls;
Home |
Main Index |
Thread Index |
Old Index