Ticket #264: search.patch

File search.patch, 372 bytes (added by egmont, 15 years ago)

The fix

  • src/util.c

    diff -Naur mc-4.6.2.orig/src/util.c mc-4.6.2/src/util.c
    old new  
    816816        if (toupper((unsigned char) *d) == toupper((unsigned char) *e)) 
    817817            d++; 
    818818        else { 
    819             e -= d - text; 
     819            e -= d - text + dlng; 
    820820            d = text; 
    821821            dlng = 0; 
    822822        }