diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2016-01-20 18:27:15 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2016-01-20 18:27:15 +0000 |
commit | 018adc2f5e332609dfbd71b4c29951dd80f9f67e (patch) | |
tree | d9eda88dd025e9cd86b3c60a889d456de35352d3 | |
parent | 54c153246ca76bdd3acb7667fe1106f04a0a9856 (diff) | |
download | netsurf-018adc2f5e332609dfbd71b4c29951dd80f9f67e.tar.gz netsurf-018adc2f5e332609dfbd71b4c29951dd80f9f67e.tar.bz2 |
Remove redundant condition in white hot path.
-rw-r--r-- | render/layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/render/layout.c b/render/layout.c index 7905eabb7..008be2426 100644 --- a/render/layout.c +++ b/render/layout.c @@ -2071,7 +2071,7 @@ void find_sides(struct box *fl, int y0, int y1, *x0 = fx1; *left = fl; } - } else if (fl->type == BOX_FLOAT_RIGHT) { + } else { fx0 = fl->x; if (fx0 < *x1) { *x1 = fx0; |