diff options
-rw-r--r-- | cfg/cfgparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cfg/cfgparse.c b/cfg/cfgparse.c index 9ac8ec7..b149805 100644 --- a/cfg/cfgparse.c +++ b/cfg/cfgparse.c @@ -81,7 +81,7 @@ static void fill_prop_number( is_f = 1; if (is_f) { p->type = cfg_type_float; - p->as.num = (float)strtod(start, 0); + p->as.flt = (float)strtod(start, 0); } else { p->type = cfg_type_int; p->as.num = (int)strtol(start, 0, 10); |