Ticket #2764: mc-4.8.2-case.patch

File mc-4.8.2-case.patch, 415 bytes (added by vokac, 12 years ago)
  • mc-4.8.2/lib/search/regex.c

    old new  
    748748    if (str_isutf8 (charset) && mc_global.utf8_display) 
    749749    { 
    750750        pcre_options |= PCRE_UTF8; 
    751         if (lc_mc_search->is_case_sensitive) 
     751        if (!lc_mc_search->is_case_sensitive) 
    752752            pcre_options |= PCRE_CASELESS; 
    753753    } 
    754754    else