From 40f9b61b4c05a20b2c627926398af8adbe745d64 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sun, 27 Aug 2023 22:07:28 +0100 Subject: [PATCH] Crash log: Windows: Fix screenshot filename in crash dialog box --- src/os/windows/crashlog_win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/windows/crashlog_win.cpp b/src/os/windows/crashlog_win.cpp index 289cd99c32..781138a59b 100644 --- a/src/os/windows/crashlog_win.cpp +++ b/src/os/windows/crashlog_win.cpp @@ -1065,7 +1065,7 @@ static INT_PTR CALLBACK CrashDialogFunc(HWND wnd, UINT msg, WPARAM wParam, LPARA } if (CrashLogWindows::current->screenshot_filename[0] != 0) { append_newline(); - append_str(CrashLogWindows::current->crashdump_filename); + append_str(CrashLogWindows::current->screenshot_filename); } SetDlgItemText(wnd, 10, crash_desc_buf);