Skip to content

Commit

Permalink
Fix missing newlines in config app crash dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
Sparronator9999 committed Sep 25, 2024
1 parent 5d510a3 commit 392ea4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions YAMDCC.GUI/Dialogs/CrashDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ public CrashDialog(Exception ex, bool threadException)
{
InitializeComponent();
txtStackTrace.Text = threadException
? "Called from Application.ThreadException\n"
: "Called from AppDomain.CurrentDomain.UnhandledException\n";
? "Called from Application.ThreadException\r\n"
: "Called from AppDomain.CurrentDomain.UnhandledException\r\n";

txtStackTrace.Text += $"{ex.Message}\n{ex.StackTrace}";
txtStackTrace.Text += $"{ex.Message}\r\n{ex.StackTrace}";
}

private void btnReportIssue_Click(object sender, EventArgs e)
Expand Down
4 changes: 2 additions & 2 deletions YAMDCC.GUI/MainWindow.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 392ea4d

Please sign in to comment.