mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-13 19:08:11 +00:00
[common] option: option_get_float should return a float
This commit is contained in:
@@ -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