summaryrefslogtreecommitdiff
path: root/src/dosinst.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dosinst.c')
-rw-r--r--src/dosinst.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/dosinst.c b/src/dosinst.c
index 64edbbdae..182546e88 100644
--- a/src/dosinst.c
+++ b/src/dosinst.c
@@ -1575,18 +1575,13 @@ install_registry(void)
}
printf("Creating an uninstall entry\n");
+ sprintf(display_name, "Vim " VIM_VERSION_SHORT);
/* For the NSIS installer use the generated uninstaller. */
if (interactive)
- {
- sprintf(display_name, "Vim " VIM_VERSION_SHORT);
sprintf(uninstall_string, "%s\\uninstal.exe", installdir);
- }
else
- {
- sprintf(display_name, "Vim " VIM_VERSION_SHORT " (self-installing)");
sprintf(uninstall_string, "%s\\uninstall-gui.exe", installdir);
- }
lRet = register_uninstall(
HKEY_LOCAL_MACHINE,