diff -r 8a4690db252e -r 485cb6d6b98c sources/coloredline.cpp --- a/sources/coloredline.cpp Fri May 15 22:46:53 2015 +0300 +++ b/sources/coloredline.cpp Wed Jul 20 14:48:47 2016 +0300 @@ -129,10 +129,8 @@ { String color = m_incomingColorName.to_lowercase(); - for (size_t i = 0; i < countof(colorCodes); ++i) + for (const ColorCodeInfo &colorInfo : colorCodes) { - const ColorCodeInfo& colorInfo = colorCodes[i]; - if (String(colorInfo.name).to_lowercase() == color) { activate_color(colorInfo.color, colorInfo.bold);