commit bdadfe879e3ddfa1ce167c350d383e894c1ef157 Author: Hiltjo Posthuma <[email protected]> Date: Sun Jan 6 13:37:04 2019 +0100
build-page: fix sorting
diff --git a/build-page.c b/build-page.c
index 91aebb9a..3854841e 100644
--- a/build-page.c
+++ b/build-page.c
@@ -196,7 +196,7 @@ print_nav_bar(char *domain)
int
qsort_strcmp(const void *a, const void *b)
{
- return strcmp((const char *)a, (const char *)b);
+ return strcmp(*(const char **)a, *(const char **)b);
}
void
