diff options
| author | christos <christos@NetBSD.org> | 2019-07-23 13:10:11 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2019-07-23 13:10:11 +0000 |
| commit | bb2b05cc6df9bc2e33254f51d8735ca4a1ed0fbc (patch) | |
| tree | 3afc87559db8018940e79745913aabe4f1e3e1ed /lib/libedit | |
| parent | 0d09ba74045e0b19945de48cd0d63eedc70ceed8 (diff) | |
remove stray brace
Diffstat (limited to 'lib/libedit')
| -rw-r--r-- | lib/libedit/literal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libedit/literal.c b/lib/libedit/literal.c index d0d3762a03c..f6eac26937e 100644 --- a/lib/libedit/literal.c +++ b/lib/libedit/literal.c @@ -1,4 +1,4 @@ -/* $NetBSD: literal.c,v 1.4 2019/07/23 10:18:52 christos Exp $ */ +/* $NetBSD: literal.c,v 1.5 2019/07/23 13:10:11 christos Exp $ */ /*- * Copyright (c) 2017 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ #include "config.h" #if !defined(lint) && !defined(SCCSID) -__RCSID("$NetBSD: literal.c,v 1.4 2019/07/23 10:18:52 christos Exp $"); +__RCSID("$NetBSD: literal.c,v 1.5 2019/07/23 13:10:11 christos Exp $"); #endif /* not lint && not SCCSID */ /* @@ -97,7 +97,7 @@ literal_add(EditLine *el, const wchar_t *buf, const wchar_t *end, int *wp) if (b == NULL) return 0; - for (n = 0, i = 0; i < len; i++) { + for (n = 0, i = 0; i < len; i++) n += ct_encode_char(b + n, (size_t)(w - n), buf[i]); n += ct_encode_char(b + n, (size_t)(w - n), end[1]); b[n] = '\0'; |
