mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
updated for version 7.1-232
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user