Merge branch 'master' of github.com:adamdruppe/arsd

This commit is contained in:
Adam D. Ruppe 2022-03-28 11:53:29 -04:00
commit 8483b709f8
1 changed files with 1 additions and 1 deletions

View File

@ -9904,7 +9904,7 @@ void sdpyPrintDebugString(string fileOverride = null, T...)(T t) nothrow @truste
try {
version(Windows) {
import core.sys.windows.wincon;
if(AttachConsole(ATTACH_PARENT_PROCESS))
if(!AttachConsole(ATTACH_PARENT_PROCESS))
AllocConsole();
const(char)* fn = "CONOUT$";
} else version(Posix) {