summaryrefslogtreecommitdiff
path: root/src/dosinst.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-02-17 22:53:14 +0100
committerBram Moolenaar <Bram@vim.org>2020-02-17 22:53:14 +0100
commit1fa8d2c33d7290eda7dc2a94d4ec6a599a2d61dd (patch)
tree2e185859825be658eab3ae17b9ddfd399c2ebb8c /src/dosinst.c
parent414b79662786762256e756ece8ab4aaecbbf9bd1 (diff)
downloadvim-git-1fa8d2c33d7290eda7dc2a94d4ec6a599a2d61dd.tar.gz
patch 8.2.0273: MS-Windows uninstall may delete wrong batch filev8.2.0273
Problem: MS-Windows uninstall may delete wrong batch file. Solution: Add specific marker in the generated batch file. (Ken Takata, closes #5654)
Diffstat (limited to 'src/dosinst.c')
-rw-r--r--src/dosinst.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dosinst.c b/src/dosinst.c
index 2ded88ef3..6ce40439a 100644
--- a/src/dosinst.c
+++ b/src/dosinst.c
@@ -841,6 +841,7 @@ install_bat_choice(int idx)
fprintf(fd, "@echo off\n");
fprintf(fd, "rem -- Run Vim --\n");
+ fprintf(fd, VIMBAT_UNINSTKEY "\n");
fprintf(fd, "\n");
fprintf(fd, "setlocal\n");