[common] option: option_get_float should return a float
This commit is contained in:
1 parent
f2b8ff9e8d
commit
e41cbf5f32
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user