sources/coloredline.cpp

changeset 145
d0aedc9be448
parent 143
b9993733952a
child 150
37db42ad451a
child 181
e254398fcc7c
--- a/sources/coloredline.cpp	Wed Jul 20 15:07:57 2016 +0300
+++ b/sources/coloredline.cpp	Wed Jul 20 16:01:10 2016 +0300
@@ -127,11 +127,11 @@
 	{
 		if (ch == ']')
 		{
-			String color = m_incomingColorName.to_lowercase();
+			String color = m_incomingColorName.toLowerCase();
 
 			for (const ColorCodeInfo &colorInfo : colorCodes)
 			{
-				if (String(colorInfo.name).to_lowercase() == color)
+				if (String(colorInfo.name).toLowerCase() == color)
 				{
 					activateColor(colorInfo.color, colorInfo.bold);
 					m_colorCodeStage = 0;

mercurial