Remove global object base_color_table

It is basically the same as ColorScheme::defaultTable(with slight
difference). There is no need to keep two default color tables.
This commit is contained in:
Jekyll Wu
2012-05-08 20:28:00 +08:00
parent e6ba69b36a
commit a0f502e1a2
4 changed files with 5 additions and 28 deletions

View File

@@ -28,6 +28,7 @@
// Konsole
#include "konsole_wcwidth.h"
#include "ExtendedCharTable.h"
#include "ColorScheme.h"
using namespace Konsole;
PlainTextDecoder::PlainTextDecoder()
@@ -137,7 +138,7 @@ void PlainTextDecoder::decodeLine(const Character* const characters, int count,
HTMLDecoder::HTMLDecoder() :
_output(0)
, _colorTable(base_color_table)
, _colorTable(ColorScheme::defaultTable)
, _innerSpanOpen(false)
, _lastRendition(DEFAULT_RENDITION)
{