diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-07-18 21:40:44 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-07-18 21:40:44 +0000 |
commit | b635633989f0ff5a5dbb564d65d332741f0e3e8d (patch) | |
tree | c7c744c865d0004b0ed58a2f573d8cbbce7ab7b8 /src/netbeans.c | |
parent | e759a7aa9a514626cd0373d1bd4e92777b1730c5 (diff) | |
download | vim-b635633989f0ff5a5dbb564d65d332741f0e3e8d.zip |
updated for version 7.0109
Diffstat (limited to 'src/netbeans.c')
-rw-r--r-- | src/netbeans.c | 3 |
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) { |