git://git.nikiroo.be
/
nikiroo-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Performance tweaks
[nikiroo-utils.git]
/
src
/
jexer
/
bits
/
CellAttributes.java
diff --git
a/src/jexer/bits/CellAttributes.java
b/src/jexer/bits/CellAttributes.java
index e889e89250c14dcb608bb7fa35132fc89d6b0c1f..43e0b222c751f616e7edf99554a6c63707df59ec 100644
(file)
--- a/
src/jexer/bits/CellAttributes.java
+++ b/
src/jexer/bits/CellAttributes.java
@@
-231,13
+231,13
@@
public class CellAttributes {
}
CellAttributes that = (CellAttributes) rhs;
}
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)
&& (reverse == that.reverse)
&& (underline == that.underline)
- && (protect == that.protect)
- && (foreColor == that.foreColor)
- && (backColor == that.backColor));
+ && (blink == that.blink)
+ && (protect == that.protect));
}
/**
}
/**