From bbdcb4848a7f9329393c972d27b282ff77861a44 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 2 Aug 2010 20:45:27 +0200 Subject: [PATCH] Put quotes around the gvim.exe path for the "Open with" menu entry. --- runtime/doc/todo.txt | 5 ++++- src/dosinst.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index b98b0018b..7b9c977db 100644 --- 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 Vim development. See |sponsor|. *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) diff --git a/src/dosinst.c b/src/dosinst.c index 979d6fe87..84d171baf 100644 --- 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", -- 2.50.1