From ab333c68c37d1fffad784fb2b5762664edc1fc8f Mon Sep 17 00:00:00 2001 From: Daniel Gibson Date: Sun, 19 Jan 2025 06:52:59 +0100 Subject: [PATCH] Fix typo in "Make sure dhewm3log.txt can be created" commit thanks @turol for pointing this out! also updated the changelog --- neo/sys/win32/win_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/sys/win32/win_main.cpp b/neo/sys/win32/win_main.cpp index 2c8929ec..816572fd 100644 --- a/neo/sys/win32/win_main.cpp +++ b/neo/sys/win32/win_main.cpp @@ -1163,7 +1163,7 @@ static void redirect_output(void) } else { char msg[2048]; D3_snprintfC99( msg, sizeof(msg), "Failed to create '%s',\n error number is %d (%s)\nIs Documents/My Games/dhewm3/ write protected?", - stdoutPath, errno, strerror(errno) ); + stderrPath, errno, strerror(errno) ); MessageBox( NULL, msg, "Can't create stderr.txt!", MB_OK | MB_ICONERROR ); exit(1); }