diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2017-04-24 04:08:31 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2017-04-24 04:08:31 +0000 |
commit | ebbc015f344e5e46d09dfdc5b173424c7d23a440 (patch) | |
tree | 8379e80738c0015803e3f7e6a72febac9e2ae23c /Build/source/libs/harfbuzz/harfbuzz-src/src/hb-common.cc | |
parent | c5ad0b1434f22257a1e23eb519ad56e781b03471 (diff) |
harfbuzz 1.4.6
git-svn-id: svn://tug.org/texlive/trunk@44006 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/harfbuzz/harfbuzz-src/src/hb-common.cc')
-rw-r--r-- | Build/source/libs/harfbuzz/harfbuzz-src/src/hb-common.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-common.cc b/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-common.cc index 64e77d43472..39006237a0c 100644 --- a/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-common.cc +++ b/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-common.cc @@ -186,8 +186,10 @@ lang_equal (hb_language_t v1, const unsigned char *p1 = (const unsigned char *) v1; const unsigned char *p2 = (const unsigned char *) v2; - while (*p1 && *p1 == canon_map[*p2]) - p1++, p2++; + while (*p1 && *p1 == canon_map[*p2]) { + p1++; + p2++; + } return *p1 == canon_map[*p2]; } @@ -667,7 +669,7 @@ parse_float (const char **pp, const char *end, float *pv) float v; errno = 0; - v = strtof (p, &pend); + v = strtod (p, &pend); if (errno || p == pend) return false; |