mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-16 09:40:13 +00:00
6d9eec0e71
When torrent size is smaller than the image width, bytes per pixel was set to zero and code was crashing. Set it to -1 instead, as we do when image is empty. This will disable highliting, but our algorithm does not work in this case anyway.