sources/coloredline.cpp

changeset 88
08ccaf26cffd
parent 87
53c2aecb9704
child 100
d301ead29d7c
--- a/sources/coloredline.cpp	Thu Jul 23 00:16:47 2015 +0300
+++ b/sources/coloredline.cpp	Thu Jul 23 01:52:04 2015 +0300
@@ -29,6 +29,7 @@
 */
 
 #include "coloredline.h"
+BEGIN_ZFC_NAMESPACE
 
 struct ColorCodeInfo
 {
@@ -37,6 +38,13 @@
 	bool bold;
 };
 
+ColoredLine::ColoredLine() :
+	m_length (0),
+	m_final (false),
+	m_activeColor (DEFAULT),
+	m_boldActive (false),
+	m_colorCodeStage (0) {}
+
 // -------------------------------------------------------------------------------------------------
 //
 void ColoredLine::finalize()
@@ -156,3 +164,5 @@
 
 	return max (rows, 1);
 }
+
+END_ZFC_NAMESPACE

mercurial