diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-05-10 14:14:03 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-05-10 14:14:03 +0200 |
commit | 69212b11d18d9d8951968f6ca88e6ce046c90675 (patch) | |
tree | bafe83527480cae15c9452542cd7ad3c88db6458 /src/os_unix.c | |
parent | d695ba732de915fc227c1069a7a4e1d5049601bd (diff) | |
download | vim-git-69212b11d18d9d8951968f6ca88e6ce046c90675.tar.gz |
patch 8.2.0728: messages about a deadly signal are not left alignedv8.2.0728
Problem: Messages about a deadly signal are not left aligned.
Solution: Output a CR before the NL. (Dominique Pelle, #6055)
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 8424b11a3..596fb0e90 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -1083,10 +1083,10 @@ deathtrap SIGDEFARG(sigarg) // 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 |