remove stray brace

This commit is contained in:
christos 2019-07-23 13:10:11 +00:00
parent 85d19b8858
commit 755b70304b

View File

@ -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';