Mercurial > vim
diff src/dosinst.c @ 16162:cd5c83115ec6 v8.1.1086
patch 8.1.1086: too many curly braces
commit https://github.com/vim/vim/commit/abab0b0fdd6535969447b03a4fffc1947918cf6c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 30 18:47:01 2019 +0100
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 30 Mar 2019 19:00:07 +0100 |
parents | b9098585d945 |
children | 081522b02c2d |
line wrap: on
line diff
--- 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;