0
0
mirror of https://github.com/vim/vim.git synced 2025-10-02 05:04:20 -04:00

Put quotes around the gvim.exe path for the "Open with" menu entry.

This commit is contained in:
Bram Moolenaar
2010-08-02 20:45:27 +02:00
parent 3f97ebf730
commit bbdcb4848a
2 changed files with 5 additions and 2 deletions

View File

@@ -1463,7 +1463,7 @@ register_openwith(
char exe_cmd[BUFSIZE];
LONG lRet;
sprintf(exe_cmd, "%s \"%%1\"", exe_path);
sprintf(exe_cmd, "\"%s\" \"%%1\"", exe_path);
lRet = reg_create_key_and_value(
hRootKey,
"Applications\\gvim.exe\\shell\\edit\\command",