changeset 345:b3989ac62a21

updated for version 7.0090
author vimboss
date Wed, 22 Jun 2005 22:25:07 +0000
parents 7033303ea0c0
children 8ed2a5098a31
files src/window.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c
+++ b/src/window.c
@@ -4540,7 +4540,7 @@ file_name_in_line(line, col, options, co
      */
     ptr = line + col;
     while (*ptr != NUL && !vim_isfilec(*ptr))
-	++ptr;
+	mb_ptr_adv(ptr);
     if (*ptr == NUL)		/* nothing found */
     {
 	if (options & FNAME_MESS)