Skip to main content.
home | support | download

Back to List Archive

Re: Question re: -s swishtitle

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Thu Apr 26 2001 - 01:21:16 GMT
At 09:01 AM 04/25/01 -0700, David Wood wrote:
>is giving the output listed below, which does not seem to be sorted by 
>title.  Are we missing something here?

I only had a minute to look, but:

In the file result_sort.c, look at compResultsByNonSortedProps();

Replace this line:
        if ((rc = sortmode * strcmp(r1->PropSort[i], r2->PropSort[i])))

with 
        if ((rc = sortmode * strcasecmp(r1->PropSort[i], r2->PropSort[i])))

And see if that helps.  



Bill Moseley
mailto:moseley@hank.org
Received on Thu Apr 26 01:23:21 2001