diff options
| author | HAL9000 <62116041+NanoBillion@users.noreply.github.com> | 2025-08-26 10:17:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-26 10:17:51 +0200 |
| commit | dbd16c2e4957a33a541d13104c18fe5f4e866401 (patch) | |
| tree | f8f988eba73f8bca03a6069b37598767b0293f65 | |
| parent | ae295750d1fd924bf9962d3e0c431a75e11a21f5 (diff) | |
Update srctohex.c: correct some comments.
| -rw-r--r-- | srctohex.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -112,14 +112,14 @@ bool seen(unsigned int aCodepoint) { return false; } -// Return pointer to glyph data or of the replacement character. +// Return true if codepoint is in gSeen[], false otherwise. // bool lookup_codepoint(unsigned int aCodepoint) { const unsigned int *p = bsearch(&aCodepoint, gSeen, gGlyphs, sizeof *gSeen, compare_codepoints); return p != NULL; } -// Compare callback for qsort and bsearch. +// Comparison callback function for bsearch(). // int compare_codepoints(const void *aFirst, const void *aSecond) { const int *first = aFirst, *second = aSecond; |
