diff -r a00302b18c60 src/edit.c
--- a/src/edit.c	Thu Sep 05 21:41:40 2013 +0200
+++ b/src/edit.c	Sat Sep 07 08:49:06 2013 +0200
@@ -5187,8 +5187,10 @@
 
 	    /* Go back to just before the first filename character. */
 	    mb_ptr_back(line, p);
-	    while (vim_isfilec(PTR2CHAR(p)) && p >= line)
+	    while (p > line && vim_isfilec(PTR2CHAR(p)))
 		mb_ptr_back(line, p);
+            if (p <= line && vim_isfilec(PTR2CHAR(line)))
+                p = line - 1;
 	    startcol = p - line;
 
 	    compl_col += ++startcol;
