mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user