From: Rudolf Polzer Date: Wed, 26 Jan 2011 20:00:13 +0000 (+0100) Subject: fix foreground color in console window (patch by Nikoli) X-Git-Tag: xonotic-v0.5.0~53 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6dce431cd0298bb70ee08ee62b51794c27e67fff;p=xonotic%2Fnetradiant.git fix foreground color in console window (patch by Nikoli) --- diff --git a/radiant/console.cpp b/radiant/console.cpp index db7997e1..cff963f2 100644 --- a/radiant/console.cpp +++ b/radiant/console.cpp @@ -189,11 +189,10 @@ std::size_t Sys_Print(int level, const char* buf, std::size_t length) const GdkColor yellow = { 0, 0xb0ff, 0xb0ff, 0x0000 }; const GdkColor red = { 0, 0xffff, 0x0000, 0x0000 }; - const GdkColor black = { 0, 0x0000, 0x0000, 0x0000 }; static GtkTextTag* error_tag = gtk_text_buffer_create_tag (buffer, "red_foreground", "foreground-gdk", &red, 0); static GtkTextTag* warning_tag = gtk_text_buffer_create_tag (buffer, "yellow_foreground", "foreground-gdk", &yellow, 0); - static GtkTextTag* standard_tag = gtk_text_buffer_create_tag (buffer, "black_foreground", "foreground-gdk", &black, 0); + static GtkTextTag* standard_tag = gtk_text_buffer_create_tag (buffer, "black_foreground", 0); GtkTextTag* tag; switch (level) {