From abab0b0fdd6535969447b03a4fffc1947918cf6c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 30 Mar 2019 18:47:01 +0100 Subject: patch 8.1.1086: too many curly braces Problem: Too many curly braces. Solution: Remove curly braces where they are not needed. (Hirohito Higashi, closes #3982) --- src/dosinst.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/dosinst.c') 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; -- cgit v1.2.3