mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 10:01:14 +00:00
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:
parent
87153ac66d
commit
3f64428c30
2 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue