Commit 4ff78a82 authored by zhanxw's avatar zhanxw
Browse files

fix typo

parent 0df5ed41
......@@ -105,7 +105,7 @@ inline bool str2double(const char* input, double* output) {
#endif
return false;
}
if (error == EINVAL) {
if (errno == EINVAL) {
// Ignore error here to avoid displaying:
// "strtod: Invalid argument" (issue #32)
// Reason: musl has different implementaiton of strtod,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment