diff --git a/src/theme.c b/src/theme.c index eb1399d6..a3a18e34 100644 --- a/src/theme.c +++ b/src/theme.c @@ -855,7 +855,7 @@ entry(struct theme *theme, const char *key, const char *value) theme->mag_filter = atoi(value); } if (match_glob(key, "magnifier.increment")) { - theme->mag_increment = atof(value); + set_float(value, &theme->mag_increment); } }