summaryrefslogtreecommitdiff
path: root/src/dosinst.h
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.h
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.h')
-rw-r--r--src/dosinst.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dosinst.h b/src/dosinst.h
index a849dad90..c262c4224 100644
--- a/src/dosinst.h
+++ b/src/dosinst.h
@@ -354,6 +354,9 @@ struct
"vimtutor.bat", "vimtutor.bat", ""},
};
+/* Uninstall key for vim.bat, etc. */
+#define VIMBAT_UNINSTKEY "rem # uninstall key: " VIM_VERSION_NODOT " #"
+
#define ICON_COUNT 3
char *(icon_names[ICON_COUNT]) =
{"gVim " VIM_VERSION_SHORT,