src/colors.cc

changeset 840
d077dd19bf9a
parent 806
4240f47aa2d4
child 844
11587d419d2f
--- a/src/colors.cc	Sun Jul 13 20:28:52 2014 +0300
+++ b/src/colors.cc	Sun Jul 13 20:40:24 2014 +0300
@@ -59,13 +59,13 @@
 
 void LDColor::addLDConfigColor (qint32 index, LDColor color)
 {
-	assert (index >= 0 && index < countof (g_LDConfigColors));
+	assert (index >= 0 and index < countof (g_LDConfigColors));
 	g_LDConfigColors[index] = color;
 }
 
 LDColor LDColor::fromIndex (qint32 index)
 {
-	if (index < countof (g_LDConfigColors) && g_LDConfigColors[index] != null)
+	if (index < countof (g_LDConfigColors) and g_LDConfigColors[index] != null)
 		return g_LDConfigColors[index];
 
 	if (index > 0x2000000)

mercurial