diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-03-30 18:47:01 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-03-30 18:47:01 +0100 |
commit | abab0b0fdd6535969447b03a4fffc1947918cf6c (patch) | |
tree | 2d43537a5dce8433ef2b2a37684c9e069392c592 /src/dosinst.c | |
parent | bd9bf266fccbf7b7f09e476e09b61f0133e914db (diff) |
patch 8.1.1086: too many curly bracesv8.1.1086
Problem: Too many curly braces.
Solution: Remove curly braces where they are not needed. (Hirohito Higashi,
closes #3982)
Diffstat (limited to 'src/dosinst.c')
-rw-r--r-- | src/dosinst.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/dosinst.c b/src/dosinst.c index 49a2fa4f5d..2c05cf4c2c 100644 --- a/src/dosinst.c +++ b/src/dosinst.c @@ -849,7 +849,7 @@ install_bat_choice(int idx) * for MSDOS and NT. * The order of preference is: * 1. $VIMRUNTIME/vim.exe (user preference) - * 2. $VIM/vim70/vim.exe (hard coded version) + * 2. $VIM/vim81/vim.exe (hard coded version) * 3. installdir/vim.exe (hard coded install directory) */ fprintf(fd, "set VIM_EXE_DIR=%s\n", installdir); @@ -1568,9 +1568,7 @@ register_openwith( for (i = 0; ERROR_SUCCESS == lRet && i < sizeof(openwith) / sizeof(openwith[0]); i++) - { lRet = reg_create_key_and_value(hRootKey, openwith[i], NULL, "", flag); - } } return lRet; |