X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fbits%2FCell.java;h=fd347be9ef97ba3e64c5cb70936ce259bfe5f6e1;hb=a2018e9964f6c58742cd1e6dd0a0c63e244a89d6;hp=d4d78ba3ab25b4446eaed222796a055e7fd82a94;hpb=e16dda65585466c8987bd1efd718431450a96605;p=fanfix.git diff --git a/src/jexer/bits/Cell.java b/src/jexer/bits/Cell.java index d4d78ba..fd347be 100644 --- a/src/jexer/bits/Cell.java +++ b/src/jexer/bits/Cell.java @@ -3,7 +3,7 @@ * * The MIT License (MIT) * - * Copyright (C) 2016 Kevin Lamonte + * Copyright (C) 2017 Kevin Lamonte * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -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; } /**