[Fontconfig-bugs] [Bug 101350] New: Erroneous test on language id in FcLangSetPromote()
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jun 8 14:02:59 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=101350
Bug ID: 101350
Summary: Erroneous test on language id in FcLangSetPromote()
Product: fontconfig
Version: 2.12
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: library
Assignee: fontconfig-bugs at lists.freedesktop.org
Reporter: f.rougon at free.fr
QA Contact: freedesktop at behdad.org
Created attachment 131803
--> https://bugs.freedesktop.org/attachment.cgi?id=131803&action=edit
Commit (as output by 'git format-patch')
As written at:
https://lists.freedesktop.org/archives/fontconfig/2017-June/005942.html
FcLangSetIndex() indicates "not found" with a non-negative return value.
Return value 0 doesn't imply "not found", it rather means "language
found at index 0 in fcLangCharSets". See attached patch for the
precise location.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20170608/5b428590/attachment.html>
More information about the Fontconfig-bugs
mailing list