X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fbits%2FCell.java;h=957ac7656f8c5e2fb34324ef792b5d97e943c42b;hb=a7986f7b289a17ca812a2f0cf04e48071accd636;hp=d4d78ba3ab25b4446eaed222796a055e7fd82a94;hpb=e16dda65585466c8987bd1efd718431450a96605;p=nikiroo-utils.git diff --git a/src/jexer/bits/Cell.java b/src/jexer/bits/Cell.java index d4d78ba..957ac76 100644 --- a/src/jexer/bits/Cell.java +++ b/src/jexer/bits/Cell.java @@ -101,8 +101,11 @@ public final class Cell extends CellAttributes { } Cell that = (Cell) rhs; - return (super.equals(rhs) - && (ch == that.ch)); + + if (ch == that.ch) { + return super.equals(rhs); + } + return false; } /**