Use set_float

This commit is contained in:
Simon Long 2024-05-13 09:47:15 +01:00
parent a64479037f
commit 897ba49e7a

View file

@ -855,7 +855,7 @@ entry(struct theme *theme, const char *key, const char *value)
theme->mag_filter = atoi(value); theme->mag_filter = atoi(value);
} }
if (match_glob(key, "magnifier.increment")) { if (match_glob(key, "magnifier.increment")) {
theme->mag_increment = atof(value); set_float(value, &theme->mag_increment);
} }
} }