Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 03a025c

Browse files
authored
Merge pull request #22241 from matplotlib/revert-22195-auto-backport-of-pr-22179-on-v3.5.x
Revert "Backport PR #22179 on branch v3.5.x (FIX: macosx check case-insensitive app name)"
2 parents 752972d + 5c6ca9d commit 03a025c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/_macosx.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,8 +1376,8 @@ - (void)launch:(NSNotification*)notification
13761376
CFMachPortRef port;
13771377
CFRunLoopSourceRef source;
13781378
NSDictionary* dictionary = [notification userInfo];
1379-
if (![[dictionary valueForKey:@"NSApplicationName"]
1380-
localizedCaseInsensitiveContainsString:@"python"])
1379+
if (! [[dictionary valueForKey:@"NSApplicationName"]
1380+
isEqualToString:@"Python"])
13811381
return;
13821382
NSNumber* psnLow = [dictionary valueForKey: @"NSApplicationProcessSerialNumberLow"];
13831383
NSNumber* psnHigh = [dictionary valueForKey: @"NSApplicationProcessSerialNumberHigh"];

0 commit comments

Comments
 (0)