diff options
Diffstat (limited to 'far2l/src/console/interf.cpp')
-rw-r--r-- | far2l/src/console/interf.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/far2l/src/console/interf.cpp b/far2l/src/console/interf.cpp index 2cd2503c..695a4ded 100644 --- a/far2l/src/console/interf.cpp +++ b/far2l/src/console/interf.cpp @@ -54,7 +54,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. BOOL WINAPI CtrlHandler(DWORD CtrlType); static int CurX,CurY; -static int CurColor; +static DWORD64 CurColor; static volatile DWORD CtrlHandlerEvent = std::numeric_limits<uint32_t>::max(); static CONSOLE_CURSOR_INFO InitialCursorInfo; @@ -778,7 +778,7 @@ void SetColor(int Color, bool ApplyToConsole) } } -void SetRealColor(WORD wAttributes, bool ApplyToConsole) +void SetRealColor(DWORD64 wAttributes, bool ApplyToConsole) { CurColor = wAttributes; if (ApplyToConsole) { @@ -786,7 +786,7 @@ void SetRealColor(WORD wAttributes, bool ApplyToConsole) } } -WORD GetRealColor() +DWORD64 GetRealColor() { return CurColor; } |