From dbd16c2e4957a33a541d13104c18fe5f4e866401 Mon Sep 17 00:00:00 2001 From: HAL9000 <62116041+NanoBillion@users.noreply.github.com> Date: Tue, 26 Aug 2025 10:17:51 +0200 Subject: Update srctohex.c: correct some comments. --- srctohex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'srctohex.c') diff --git a/srctohex.c b/srctohex.c index 3c51536..715e6c9 100644 --- a/srctohex.c +++ b/srctohex.c @@ -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; -- cgit v1.2.3