summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2015-05-25 18:08:09 +0300
committerEli Zaretskii <eliz@gnu.org>2015-05-25 18:08:09 +0300
commitac59d538982d040c215ef7689f253abbbfe3921a (patch)
tree8a22e44397af64781ba20a9fabf2011be812c223 /lib-src
parent9c66c5a0cabc748ce50d844a0f1af8d1fc121436 (diff)
downloademacs-ac59d538982d040c215ef7689f253abbbfe3921a.tar.gz
Fix a typo in last commit
* lib-src/etags.c (C_entries): Fix a typo. * test/etags/ETAGS.good_1: * test/etags/ETAGS.good_2: * test/etags/ETAGS.good_3: * test/etags/ETAGS.good_4: * test/etags/ETAGS.good_5: * test/etags/CTAGS.good: Update due to the change in etags.c.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/etags.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c
index 73dd5a8a405..f124d290da3 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -3355,7 +3355,7 @@ C_entries (int c_ext, FILE *inf)
{
linebuffer_setlen (&token_name, toklen);
sprintf (token_name.buffer, "%.*s",
- newlb.buffer + tokoff);
+ toklen, newlb.buffer + tokoff);
}
token.named = true;
}