<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Erroneous test on language id in FcLangSetPromote()"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101350">101350</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Erroneous test on language id in FcLangSetPromote()
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>fontconfig
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>2.12
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>library
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>fontconfig-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>f.rougon@free.fr
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>freedesktop@behdad.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=131803" name="attach_131803" title="Commit (as output by 'git format-patch')">attachment 131803</a> <a href="attachment.cgi?id=131803&action=edit" title="Commit (as output by 'git format-patch')">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=101350&attachment=131803'>[review]</a>
Commit (as output by 'git format-patch')

As written at:
<a href="https://lists.freedesktop.org/archives/fontconfig/2017-June/005942.html">https://lists.freedesktop.org/archives/fontconfig/2017-June/005942.html</a>

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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>