diff src/gui.c @ 13176:bd1253c60938 v8.0.1462

patch 8.0.1462: missing yet another file in patch commit https://github.com/vim/vim/commit/f4aba797cb57d6d5b3b491bd5ae2c0b40e07baaf Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 3 19:17:36 2018 +0100 patch 8.0.1462: missing yet another file in patch Problem: Missing yet another file in patch. Solution: Add changes to missing file.
author Christian Brabandt <cb@256bit.org>
date Sat, 03 Feb 2018 19:30:06 +0100
parents f4c3a7f410f4
children 3efdd2ae3717
line wrap: on
line diff
--- a/src/gui.c
+++ b/src/gui.c
@@ -5528,7 +5528,7 @@ gui_handle_drop(
 		if (mch_chdir((char *)p) == 0)
 		    shorten_fnames(TRUE);
 	    }
-	    else if (vim_chdirfile(p) == OK)
+	    else if (vim_chdirfile(p, "drop") == OK)
 		shorten_fnames(TRUE);
 	    vim_free(p);
 	}