[common] option: option_get_float should return a float

This commit is contained in:
Geoffrey McRae
2021-08-10 01:36:12 +10:00
parent f2b8ff9e8d
commit e41cbf5f32
2 changed files with 2 additions and 2 deletions

View File

@@ -793,7 +793,7 @@ bool option_get_bool(const char * module, const char * name)
return o->value.x_bool;
}
bool option_get_float(const char * module, const char * name)
float option_get_float(const char * module, const char * name)
{
struct Option * o = option_get(module, name);
if (!o)