aboutsummaryrefslogtreecommitdiffstats
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authormamg22 <45301823+mamg22@users.noreply.github.com>2021-12-01 00:52:09 +0100
committerGitHub <noreply@github.com>2021-12-01 00:52:09 +0100
commit127abbea770e1fff660b0ffd10ab58bcb46bf0af (patch)
tree1ffdcaabe195fd6f21b79f44e436cc00902faaef /CONTRIBUTING.md
parent3bc7082f4e08e71fb40944bb085fafbb65f6c8cf (diff)
downloadnsxiv-127abbea770e1fff660b0ffd10ab58bcb46bf0af.tar.zst
fix crash when zooming out on small images (#178)
When rendering images, destination image width and height may become zero due to float-to-int conversion after zoom calculation, later crashing when creating an image using those dimensions. This sets a minimum of 1 to both variables. Closes #82
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions