diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2018-04-02 20:23:30 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2018-04-02 20:23:30 +0100 |
commit | 473a40bc114d70d84610d40b425cf1e9bc548359 (patch) | |
tree | 2ab3f89129d8a4099b700e9e51bad0c14c41294f /content/handlers/image/png.h | |
parent | af554fcedf8a3c209350ccb1acfd5b233081bd18 (diff) | |
download | netsurf-473a40bc114d70d84610d40b425cf1e9bc548359.tar.gz netsurf-473a40bc114d70d84610d40b425cf1e9bc548359.tar.bz2 |
Layout: Fix min max pass calc that looked wrong.
The `width` variable call be set to AUTO, which is INT_MIN,
so we can't add it to max without checking it's > 0, or we'll
blunder into the minmax assertions.
Diffstat (limited to 'content/handlers/image/png.h')
0 files changed, 0 insertions, 0 deletions