patch 8.2.5069: various warnings from clang on MS-Windows
Problem: Various warnings from clang on MS-Windows.
Solution: Fix the code to avoid the warnings. (Yegappan Lakshmanan,
closes #10538)
diff --git a/src/dosinst.c b/src/dosinst.c
index e77152f..23cf2d3 100644
--- a/src/dosinst.c
+++ b/src/dosinst.c
@@ -211,8 +211,8 @@
{
printf("ERROR: Cannot find filetype.vim in \"%s\"\n", installdir);
printf("It looks like you did not unpack the runtime archive.\n");
- printf("You must unpack the runtime archive \"vim%srt.zip\" before installing.\n",
- VIM_VERSION_NODOT + 3);
+ printf("You must unpack the runtime archive \"%srt.zip\" before installing.\n",
+ VIM_VERSION_NODOT);
myexit(1);
}