diff options
author | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2011-05-12 06:22:31 +0000 |
---|---|---|
committer | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2011-05-12 06:22:31 +0000 |
commit | 321d8d57dacf00e4ae19558dc9444519f4d9ade1 (patch) | |
tree | 6f07778268fd2099c235dd4d2f2d4aa38fcb0110 /cgi-bin/help-index.c | |
parent | eac3a0a01bf37d95f4129b28296cb697c54b2613 (diff) | |
download | cups-321d8d57dacf00e4ae19558dc9444519f4d9ade1.tar.gz |
Merge changes from CUPS 1.5b1-r9774.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3247 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'cgi-bin/help-index.c')
-rw-r--r-- | cgi-bin/help-index.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cgi-bin/help-index.c b/cgi-bin/help-index.c index cae6e5a26..a88a6eb1c 100644 --- a/cgi-bin/help-index.c +++ b/cgi-bin/help-index.c @@ -1,9 +1,9 @@ /* * "$Id: help-index.c 7717 2008-07-04 02:35:33Z mike $" * - * Online help index routines for the Common UNIX Printing System (CUPS). + * Online help index routines for CUPS. * - * Copyright 2007-2008 by Apple Inc. + * Copyright 2007-2011 by Apple Inc. * Copyright 1997-2007 by Easy Software Products. * * These coded instructions, statements, and computer programs are the @@ -599,7 +599,7 @@ helpSearchIndex(help_index_t *hi, /* I - Index */ search->nodes = cupsArrayNew((cups_array_func_t)help_sort_by_name, NULL); search->sorted = cupsArrayNew((cups_array_func_t)help_sort_by_score, NULL); - + if (!search->nodes || !search->sorted) { cupsArrayDelete(search->nodes); @@ -639,8 +639,8 @@ helpSearchIndex(help_index_t *hi, /* I - Index */ node->score = matches; - cupsArrayAdd(search->nodes, node); - cupsArrayAdd(search->sorted, node); + cupsArrayAdd(search->nodes, node); + cupsArrayAdd(search->sorted, node); } } |