Performance tweaks
[nikiroo-utils.git] / src / jexer / bits / CellAttributes.java
index e889e89250c14dcb608bb7fa35132fc89d6b0c1f..43e0b222c751f616e7edf99554a6c63707df59ec 100644 (file)
@@ -231,13 +231,13 @@ public class CellAttributes {
         }
 
         CellAttributes that = (CellAttributes) rhs;
-        return ((bold == that.bold)
-            && (blink == that.blink)
+        return ((foreColor == that.foreColor)
+            && (backColor == that.backColor)
+            && (bold == that.bold)
             && (reverse == that.reverse)
             && (underline == that.underline)
-            && (protect == that.protect)
-            && (foreColor == that.foreColor)
-            && (backColor == that.backColor));
+            && (blink == that.blink)
+            && (protect == that.protect));
     }
 
     /**