about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ui-repolist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-repolist.c b/ui-repolist.c
index 0de328b..cf27cb3 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -116,9 +116,9 @@ static int cmp(const char *s1, const char *s2)
 	if (s1 && s2)
 		return strcmp(s1, s2);
 	if (s1 && !s2)
-		return 1;
-	if (s2 && !s1)
 		return -1;
+	if (s2 && !s1)
+		return 1;
 	return 0;
 }
 
l and I'm angry. 2020-11-22Day 2, part 2June McEnroe 2020-11-22Day 2June McEnroe 2020-11-22Day 1, part 2June McEnroe 2020-11-22Day 1June McEnroe 2020-11-22Move to 2016 directoryJune McEnroe