Make initial scaling a float; prevent divide by zero

This commit is contained in:
Simon Long 2024-05-15 22:50:45 +01:00
parent 50066161b0
commit ae2638b238
5 changed files with 8 additions and 5 deletions

View file

@ -144,7 +144,7 @@ struct rcxml {
/* Magnifier */
int mag_width;
int mag_height;
int mag_scale;
float mag_scale;
float mag_increment;
bool mag_filter;
};