spelling: mantissa

Signed-off-by: Josh Soref <[email protected]>
This commit is contained in:
Josh Soref
2024-10-29 16:55:43 +01:00
committed by Jindra Petřík
parent 81c73c7fe5
commit 235e44fc30
3 changed files with 9 additions and 9 deletions
@@ -130,9 +130,9 @@ public class ZoomPanel extends JPanel implements MediaDisplayListener {
}
}
private static double roundZoom(double realZoom, int mantisa) {
private static double roundZoom(double realZoom, int mantissa) {
double l10 = Math.log10(realZoom);
int lg = (int) (-Math.floor(l10) + mantisa - 1);
int lg = (int) (-Math.floor(l10) + mantissa - 1);
if (lg < 0) {
lg = 0;
}