summaryrefslogtreecommitdiffstats
path: root/mbbsd/fav.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/fav.c')
-rw-r--r--mbbsd/fav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/fav.c b/mbbsd/fav.c
index 6fc88d0a..d9558c68 100644
--- a/mbbsd/fav.c
+++ b/mbbsd/fav.c
@@ -299,7 +299,7 @@ static int favcmp_by_class(const void *a, const void *b)
cmp = strncasecmp(get_item_class(f1), get_item_class(f2), 4);
if (cmp)
return cmp;
- return strcasecmp(get_item_title(f1), get_item_title(f1));
+ return strcasecmp(get_item_title(f1), get_item_title(f2));
}
void fav_sort_by_class(void)