From 1b5217687abf8e1aeabaf4e5a64073177d56e593 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Thu, 1 May 2014 14:00:13 -0400 Subject: revert #652 reverting broad cosmetic/style change because: - increases merge-conflicts - increases overhead of merging upstream Vim patches - reasons for change are ambiguous, so default to no change --- src/ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui.c') diff --git a/src/ui.c b/src/ui.c index 2cbc43a2a8..6f4f6b200d 100644 --- a/src/ui.c +++ b/src/ui.c @@ -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 != '\0') { + while (count < vcol && *ptr != NUL) { count += win_lbr_chartabsize(wp, ptr, count, NULL); mb_ptr_adv(ptr); } -- cgit