Just always use strtod here

pull/442/head
Khaled Hosny 8 years ago
parent 539571c1a9
commit 91570a1eeb
  1. 4
      src/hb-common.cc

@ -667,11 +667,7 @@ parse_float (const char **pp, const char *end, float *pv)
float v;
errno = 0;
#if defined (_MSC_VER) && (_MSC_VER < 1800)
v = strtod (p, &pend);
#else
v = strtof (p, &pend);
#endif
if (errno || p == pend)
return false;

Loading…
Cancel
Save