summaryrefslogtreecommitdiff
path: root/srctohex.c
diff options
context:
space:
mode:
Diffstat (limited to 'srctohex.c')
-rw-r--r--srctohex.c4
1 files changed, 2 insertions, 2 deletions
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;