On Wed, Mar 12, 2008 at 7:53 PM, Sander van Dijk <[EMAIL PROTECTED]> wrote: > On Tue, Mar 11, 2008 at 11:06 PM, Anselm R. Garbe <[EMAIL PROTECTED]> wrote: > > > Ok, makes sense to me/I will change the code accordingly > > tomorrow. > > Hg tip also needs an fstrncmp function pointer to point to either > strncmp or strncasecmp (right now, match() is hardcoded to use > strncasecmp; this should only be the case when -i is given).
Here's a patch. Aside from implementing what I described, it also removes some no-longer-needed stuff and simplifies the loop in match() (and, to top it off, makes sure that the order of items is preserved when narrowing the set, something that unfortunately wasn't the case with 3.4...). Gr. Sander.
dmenu.icasefix.udiff
Description: Binary data
