pushed
zhengqunkoo/fbpdf • 4:01 PM - Feb 16, 2020
This change fixes a small but meaningful edge case in fbpdf.c where the previous zoom value could be zero when recalculating scroll position after a zoom operation. By clamping the old zoom to a new MINZOOM floor before doing the division, the code avoids a potential crash or undefined behavior while preserving the existing zoom bounds. The practical effect is safer, more predictable zoom handling.