mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
Fix strange build issue
This commit is contained in:
1 file changed
+2
-2
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
#if NET35
|
||||
@@ -103,7 +103,7 @@ namespace BepInEx.ConsoleUtil
|
||||
if (!flag)
|
||||
return;
|
||||
var num = bufferInfo.wAttributes;
|
||||
num &= isBackground ? -241 : -16;
|
||||
num &= isBackground ? (short)-241 : (short)-16;
|
||||
num = (short) ((ushort) num | (ushort) color);
|
||||
SetConsoleTextAttribute(conOut, num);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user