From 0dd492fdd59a71332a9599eed79873a75f97a1bd Mon Sep 17 00:00:00 2001
From: Bram Moolenaar <Bram@vim.org>
Date: Wed, 22 Jun 2005 22:25:07 +0000
Subject: [PATCH] updated for version 7.0090

---
 src/window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/window.c b/src/window.c
index c9c6c99abc..0d77a3acfd 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)
-- 
GitLab