X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/f34427874df972004ce8a285145f6fc738f08595..ef1ba39e8dae81091b6c3e73e72825ef6edea3c6:/uip/flist.c?ds=sidebyside diff --git a/uip/flist.c b/uip/flist.c index 84f6ba29..089c7617 100644 --- a/uip/flist.c +++ b/uip/flist.c @@ -118,7 +118,7 @@ main(int argc, char **argv) * If program was invoked with name ending * in `s', then add switch `-all'. */ - all = EndsWithC(argv[0], 's'); + all = HasSuffixC(argv[0], 's'); arguments = getarguments (invo_name, argc, argv, 1); argp = arguments; @@ -600,8 +600,7 @@ CompareFolders(struct Folder *f1, struct Folder *f2) { if (!alphaOrder && f1->priority != f2->priority) return f1->priority - f2->priority; - else - return strcmp(f1->name, f2->name); + return strcmp(f1->name, f2->name); } /*