summaryrefslogtreecommitdiff
path: root/src/netbeans.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-07-18 21:40:44 +0000
committerBram Moolenaar <Bram@vim.org>2005-07-18 21:40:44 +0000
commitb635633989f0ff5a5dbb564d65d332741f0e3e8d (patch)
treec7c744c865d0004b0ed58a2f573d8cbbce7ab7b8 /src/netbeans.c
parente759a7aa9a514626cd0373d1bd4e92777b1730c5 (diff)
downloadvim-git-b635633989f0ff5a5dbb564d65d332741f0e3e8d.tar.gz
updated for version 7.0109
Diffstat (limited to 'src/netbeans.c')
-rw-r--r--src/netbeans.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/netbeans.c b/src/netbeans.c
index bebfa5e44..9150e1451 100644
--- a/src/netbeans.c
+++ b/src/netbeans.c
@@ -2769,8 +2769,7 @@ netbeans_inserted(
/* send the "insert" EVT */
newtxt = alloc(newlen + 1);
- STRNCPY(newtxt, txt, newlen);
- newtxt[newlen] = '\0';
+ vim_strncpy(newtxt, txt, newlen);
p = nb_quote(newtxt);
if (p != NULL)
{