]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cgi-bin/help-index.c
Merge changes from CUPS 1.4svn-r7715.
[thirdparty/cups.git] / cgi-bin / help-index.c
index cb88aee173440ced395919282eec0e0dc5857b34..9b40252bfab14978b087458916409243e8262319 100644 (file)
@@ -1297,7 +1297,7 @@ help_sort_by_score(help_node_t *n1,       /* I - First node */
                 n2, n2->score, n2->section ? n2->section : "", n2->text));
 
   if (n1->score != n2->score)
-    return (n1->score - n2->score);
+    return (n2->score - n1->score);
 
   if (n1->section && !n2->section)
     return (1);