From: Laszlo T. <ave...@us...> - 2012-02-19 14:59:22
|
gemrb: Infinity Engine emulator The branch master has been updated via 4bf6b230e4e75d79babac32d14a3cbe31a5cfb03 (commit) Summary of changes: gemrb/core/System/Logger/Win32Console.cpp | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) from 0be58faaf825fa2542ae49cede4db35fc7090f92 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=4bf6b230e4e75d79babac32d14a3cbe31a5cfb03 commit 4bf6b230e4e75d79babac32d14a3cbe31a5cfb03 Author: unknown <Laci@.(none)> Date: Sun Feb 19 15:58:59 2012 +0100 fixed win32 logger color codes diff --git a/gemrb/core/System/Logger/Win32Console.cpp b/gemrb/core/System/Logger/Win32Console.cpp index b76da6f..48cd403 100644 --- a/gemrb/core/System/Logger/Win32Console.cpp +++ b/gemrb/core/System/Logger/Win32Console.cpp @@ -45,6 +45,7 @@ void Win32ConsoleLogger::print(const char *message) static int colors[] = { 0, + 0, FOREGROUND_RED, FOREGROUND_GREEN, FOREGROUND_GREEN | FOREGROUND_RED, @@ -52,14 +53,14 @@ static int colors[] = { FOREGROUND_RED | FOREGROUND_BLUE, FOREGROUND_BLUE | FOREGROUND_GREEN, FOREGROUND_BLUE | FOREGROUND_GREEN | FOREGROUND_RED, - (RED | FOREGROUND_INTENSITY), - (GREEN | FOREGROUND_INTENSITY), - (GREEN | RED | FOREGROUND_INTENSITY), - (BLUE | FOREGROUND_INTENSITY), - (MAGENTA | FOREGROUND_INTENSITY), - (CYAN | FOREGROUND_INTENSITY), - (WHITE | FOREGROUND_INTENSITY), - WHITE + FOREGROUND_RED | FOREGROUND_INTENSITY, + FOREGROUND_GREEN | FOREGROUND_INTENSITY, + FOREGROUND_GREEN | FOREGROUND_RED | FOREGROUND_INTENSITY, + FOREGROUND_BLUE | FOREGROUND_INTENSITY, + FOREGROUND_RED | FOREGROUND_BLUE | FOREGROUND_INTENSITY, + FOREGROUND_GREEN | FOREGROUND_BLUE | FOREGROUND_INTENSITY, + FOREGROUND_GREEN | FOREGROUND_BLUE | FOREGROUND_RED | FOREGROUND_INTENSITY, + FOREGROUND_GREEN | FOREGROUND_BLUE | FOREGROUND_RED, }; void Win32ConsoleLogger::textcolor(log_color c) ----------------------------------------------------------------------- This is an automated email from the git hooks/post-receive script. -- gemrb: Infinity Engine emulator |