patch 8.2.0728: messages about a deadly signal are not left aligned
Problem: Messages about a deadly signal are not left aligned.
Solution: Output a CR before the NL. (Dominique Pelle, #6055)
diff --git a/src/misc1.c b/src/misc1.c
index 6686a35..a370a82 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -2174,7 +2174,7 @@
{
if (buf->b_ml.ml_mfp != NULL && buf->b_ml.ml_mfp->mf_fname != NULL)
{
- OUT_STR("Vim: preserving files...\n");
+ OUT_STR("Vim: preserving files...\r\n");
screen_start(); // don't know where cursor is now
out_flush();
ml_sync_all(FALSE, FALSE); // preserve all swap files
@@ -2184,7 +2184,7 @@
ml_close_all(FALSE); // close all memfiles, without deleting
- OUT_STR("Vim: Finished.\n");
+ OUT_STR("Vim: Finished.\r\n");
getout(1);
}
diff --git a/src/os_unix.c b/src/os_unix.c
index 8424b11..596fb0e 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -1083,10 +1083,10 @@
// No translation, it may call malloc().
#ifdef SIGHASARG
- sprintf((char *)IObuff, "Vim: Caught deadly signal %s\n",
+ sprintf((char *)IObuff, "Vim: Caught deadly signal %s\r\n",
signal_info[i].name);
#else
- sprintf((char *)IObuff, "Vim: Caught deadly signal\n");
+ sprintf((char *)IObuff, "Vim: Caught deadly signal\r\n");
#endif
// Preserve files and exit. This sets the really_exiting flag to prevent
diff --git a/src/version.c b/src/version.c
index 55b8654..c595e9d 100644
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 728,
+/**/
727,
/**/
726,