glib-aux/trivial: fix typo in code comment

This commit is contained in:
Thomas Haller
2022-05-04 22:06:58 +02:00
parent a859cee560
commit 7d1a9b898d

View File

@@ -119,7 +119,7 @@ nm_ref_string_cmp(NMRefString *a, NMRefString *b)
NM_CMP_SELF(a, b); NM_CMP_SELF(a, b);
/* It would be cheaper to first compare by length. But this /* It would be cheaper to first compare by length. But this
* way we get a nicer, ASCIIbethical sort order. */ * way we get a nicer, ASCIIbetical sort order. */
NM_CMP_DIRECT_MEMCMP(a->str, b->str, NM_MIN(a->len, b->len)); NM_CMP_DIRECT_MEMCMP(a->str, b->str, NM_MIN(a->len, b->len));
NM_CMP_DIRECT(a->len, b->len); NM_CMP_DIRECT(a->len, b->len);
return nm_assert_unreachable_val(0); return nm_assert_unreachable_val(0);