am e41d2aed: Merge "Using robust equality check."
* commit 'e41d2aed9c8d990d31af70642ae688dad1d8fb4b': Using robust equality check.
This commit is contained in:
@@ -1154,7 +1154,7 @@ public abstract class Layout {
|
||||
if (h2 < 0.5f)
|
||||
h2 = 0.5f;
|
||||
|
||||
if (h1 == h2) {
|
||||
if (Float.compare(h1, h2) == 0) {
|
||||
dest.moveTo(h1, top);
|
||||
dest.lineTo(h1, bottom);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user