changeset 2470:481f808ab5e1 vim73

Put quotes around the gvim.exe path for the "Open with" menu entry.
author Bram Moolenaar <bram@vim.org>
date Mon, 02 Aug 2010 20:45:27 +0200
parents 336d6df580e7
children 6570c136be32
files runtime/doc/todo.txt src/dosinst.c
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -1,4 +1,4 @@
-*todo.txt*      For Vim version 7.3d.  Last change: 2010 Aug 01
+*todo.txt*      For Vim version 7.3d.  Last change: 2010 Aug 02
 
 
 		  VIM REFERENCE MANUAL	  by Bram Moolenaar
@@ -30,6 +30,9 @@ be worked on, but only if you sponsor Vi
 							*known-bugs*
 -------------------- Known bugs and current work -----------------------
 
+Using uninitialized memory when crypting an empty file. (Dominique Pelle, 2010
+Aug 2)
+
 Before release 7.3:
 - Rename vim73 branch to default (hints: Xavier de Gaye, 2010 May 23)
 
--- a/src/dosinst.c
+++ b/src/dosinst.c
@@ -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",