Module Name:    src
Committed By:   christos
Date:           Mon May  2 16:35:18 UTC 2016

Modified Files:
        src/lib/libedit: chartype.h refresh.c

Log Message:
fix typos from Pedro Giffuni @FreeBSD


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/lib/libedit/chartype.h
cvs rdiff -u -r1.49 -r1.50 src/lib/libedit/refresh.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libedit/chartype.h
diff -u src/lib/libedit/chartype.h:1.31 src/lib/libedit/chartype.h:1.32
--- src/lib/libedit/chartype.h:1.31	Mon Apr 11 14:56:31 2016
+++ src/lib/libedit/chartype.h	Mon May  2 12:35:17 2016
@@ -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 @@ wchar_t *ct_decode_string(const char *, 
  * 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)
 

Index: src/lib/libedit/refresh.c
diff -u src/lib/libedit/refresh.c:1.49 src/lib/libedit/refresh.c:1.50
--- src/lib/libedit/refresh.c:1.49	Mon Apr 11 14:56:31 2016
+++ src/lib/libedit/refresh.c	Mon May  2 12:35:17 2016
@@ -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 @@ re_update_line(EditLine *el, wchar_t *ol
 	nls = ++n;
 
 	/*
-         * find same begining and same end
+         * find same beginning and same end
          */
 	osb = ols;
 	nsb = nls;

Reply via email to