mirror of
https://github.com/eddyem/astrovideoguide_v3.git
synced 2026-03-22 01:31:25 +03:00
improve to libusefull_macros v0.3.2
This commit is contained in:
@@ -290,7 +290,7 @@ confparam *chk_keyval(const char *key, const char *val, key_value *result){
|
||||
break;
|
||||
case PAR_DOUBLE:
|
||||
//DBG("DOUBLE");
|
||||
if(!str2double(&result->val.dblval, val)){
|
||||
if(!sl_str2d(&result->val.dblval, val)){
|
||||
WARNX("Wrong double value '%s' of parameter '%s'", val, key);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user