From: Bram Moolenaar Date: Wed, 22 Jun 2005 22:25:07 +0000 (+0000) Subject: updated for version 7.0090 X-Git-Tag: v7.0090~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0dd492fdd59a71332a9599eed79873a75f97a1bd;p=vim updated for version 7.0090 --- diff --git a/src/window.c b/src/window.c index c9c6c99ab..0d77a3acf 100644 --- a/src/window.c +++ b/src/window.c @@ -4540,7 +4540,7 @@ file_name_in_line(line, col, options, count, rel_fname) */ ptr = line + col; while (*ptr != NUL && !vim_isfilec(*ptr)) - ++ptr; + mb_ptr_adv(ptr); if (*ptr == NUL) /* nothing found */ { if (options & FNAME_MESS)