comparison src/dosinst.c @ 13353:8412df1479a3 v8.0.1550

patch 8.0.1550: various small problems in source files commit https://github.com/vim/vim/commit/792f0e36593d1ec13ccb8a622ca5542c500577b4 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 27 17:27:13 2018 +0100 patch 8.0.1550: various small problems in source files Problem: Various small problems in source files. Solution: Fix the problems.
author Christian Brabandt <cb@256bit.org>
date Tue, 27 Feb 2018 17:30:08 +0100
parents 18020ddc2730
children cec5137d5332
comparison
equal deleted inserted replaced
13352:764ce635fdc7 13353:8412df1479a3
1198 fprintf(fd, " let arg3 = v:fname_out\n"); 1198 fprintf(fd, " let arg3 = v:fname_out\n");
1199 fprintf(fd, " if arg3 =~ ' ' | let arg3 = '\"' . arg3 . '\"' | endif\n"); 1199 fprintf(fd, " if arg3 =~ ' ' | let arg3 = '\"' . arg3 . '\"' | endif\n");
1200 1200
1201 /* If the path has a space: When using cmd.exe (Win NT/2000/XP) put 1201 /* If the path has a space: When using cmd.exe (Win NT/2000/XP) put
1202 * quotes around the diff command and rely on the default value of 1202 * quotes around the diff command and rely on the default value of
1203 * shellxquote to solve the quoting problem for the whole command. 1203 * shellxquote to solve the quoting problem for the whole command.
1204 * 1204 *
1205 * Otherwise put a double quote just before the space and at the 1205 * Otherwise put a double quote just before the space and at the
1206 * end of the command. Putting quotes around the whole thing 1206 * end of the command. Putting quotes around the whole thing
1207 * doesn't work on Win 95/98/ME. This is mostly guessed! */ 1207 * doesn't work on Win 95/98/ME. This is mostly guessed! */
1208 fprintf(fd, " if $VIMRUNTIME =~ ' '\n"); 1208 fprintf(fd, " if $VIMRUNTIME =~ ' '\n");
1209 fprintf(fd, " if &sh =~ '\\<cmd'\n"); 1209 fprintf(fd, " if &sh =~ '\\<cmd'\n");