diff --git a/src/edit.c b/src/edit.c
index a4be291ef3839ba76de8ec75c36a65f0a8450544..7eafb85438d1988fa434f6f83b6eb3c7d00f6642 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -2713,7 +2713,7 @@ ins_compl_dictionaries(dict_start, pat, flags, thesaurus)
 	char_u *pat_esc = vim_strsave_escaped(pat, (char_u *)"\\");
 
 	if (pat_esc == NULL)
-	    goto theend ;
+	    goto theend;
 	i = (int)STRLEN(pat_esc) + 10;
 	ptr = alloc(i);
 	if (ptr == NULL)