commit | 1fa8d2c33d7290eda7dc2a94d4ec6a599a2d61dd | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Feb 17 22:53:14 2020 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Feb 17 22:53:14 2020 +0100 |
tree | 2e185859825be658eab3ae17b9ddfd399c2ebb8c | |
parent | 414b79662786762256e756ece8ab4aaecbbf9bd1 [diff] [blame] |
patch 8.2.0273: MS-Windows uninstall may delete wrong batch file Problem: MS-Windows uninstall may delete wrong batch file. Solution: Add specific marker in the generated batch file. (Ken Takata, closes #5654)
diff --git a/src/dosinst.c b/src/dosinst.c index 2ded88e..6ce4043 100644 --- a/src/dosinst.c +++ b/src/dosinst.c
@@ -841,6 +841,7 @@ fprintf(fd, "@echo off\n"); fprintf(fd, "rem -- Run Vim --\n"); + fprintf(fd, VIMBAT_UNINSTKEY "\n"); fprintf(fd, "\n"); fprintf(fd, "setlocal\n");