Fix Ignore Case option to work

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38932 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Doug Simons 2015-08-25 22:58:05 +00:00
parent 87153ac66d
commit 3f64428c30
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2015-08-25 Doug Simons <doug.simons@testplant.com>
* Source/GSTextFinder.m: Fix Ignore Case option to work.
2015-08-14 Doug Simons <doug.simons@testplant.com>
* Source/NSSplitView.m: Treat an empty autosaveName as nil

View file

@ -480,6 +480,7 @@ static GSTextFinder *sharedTextFinder;
if ([ignoreCaseButton state] != NSOffState)
{
*options |= NSCaseInsensitiveSearch;
*options &= ~NSLiteralSearch; // literal search is always case-sensitive, so it must be removed in this case
}
else
{