diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-01-18 10:40:55 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-01-18 10:40:55 +0000 |
commit | b3c7098365eadbb7be671361837435f370fe272e (patch) | |
tree | 3a5475d3551a317453b440ba3ff0d34f21d25f50 /src/netbeans.c | |
parent | 21b17e7741cc08ca7f0e7606b73373d5b37e5ede (diff) | |
download | vim-git-b3c7098365eadbb7be671361837435f370fe272e.tar.gz |
updated for version 7.1-232v7.1.232
Diffstat (limited to 'src/netbeans.c')
-rw-r--r-- | src/netbeans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netbeans.c b/src/netbeans.c index 91b9f207a..e3e32008e 100644 --- a/src/netbeans.c +++ b/src/netbeans.c @@ -1217,7 +1217,7 @@ nb_partialremove(linenr_T lnum, colnr_T first, colnr_T last) oldtext = ml_get(lnum); oldlen = STRLEN(oldtext); - if (first >= oldlen || oldlen == 0) /* just in case */ + if (first >= (colnr_T)oldlen || oldlen == 0) /* just in case */ return; if (lastbyte >= oldlen) lastbyte = oldlen - 1; |