Remove NUL macro

This commit is contained in:
Marco Hinz
2014-04-29 21:56:49 +02:00
committed by Thiago de Arruda
parent 046debb935
commit 2e4613aecc
66 changed files with 2543 additions and 2544 deletions

View File

@@ -1075,7 +1075,7 @@ int vcol2col(win_T *wp, linenr_T lnum, int vcol)
char_u *start;
start = ptr = ml_get_buf(wp->w_buffer, lnum, FALSE);
while (count < vcol && *ptr != NUL) {
while (count < vcol && *ptr != '\0') {
count += win_lbr_chartabsize(wp, ptr, count, NULL);
mb_ptr_adv(ptr);
}