summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-02-07 00:49:20 +0100
committerCarl Hetherington <cth@carlh.net>2025-02-07 00:49:20 +0100
commit671318e63309cfa699ad3139e0dae5e6f2603c19 (patch)
tree7b4fdd05a568f0998bb8470949242f7fc8c4b4d8
parent23cf3e7f36237e41ebc22752582ed724a83ae644 (diff)
fixup! try to get stderr in console
-rw-r--r--src/tools/dcpomatic.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc
index f771994ee..b310e0daa 100644
--- a/src/tools/dcpomatic.cc
+++ b/src/tools/dcpomatic.cc
@@ -1643,7 +1643,7 @@ private:
*stdout = *hf_out;
HANDLE handle_err = GetStdHandle(STD_ERROR_HANDLE);
- int hCrt = _open_osfhandle((intptr_t) handle_err, _O_TEXT);
+ hCrt = _open_osfhandle((intptr_t) handle_err, _O_TEXT);
FILE* hf_err = _fdopen(hCrt, "w");
setvbuf(hf_err, NULL, _IONBF, 1);
*stderr = *hf_err;