Permalink
Browse files

Shut up a deprecation warning.

  • Loading branch information...
1 parent 1e64aae commit fb656cd30b4a9ec7e2ff886c17d166c69a1f4d6f @uliwitness committed Mar 19, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 UKMultiSyntaxColoredTextDocument.m
@@ -249,7 +249,7 @@ -(void) windowControllerDidLoadNib: (NSWindowController *)windowController
if( syntaxDefinitionMenu ) // Connected to a popup in our NIB?
[self rebuildSyntaxMenu];
- NSString* fileSuffix = [[self fileName] pathExtension];
+ NSString* fileSuffix = [[self fileURL] pathExtension];
NSNumber* numObj = [sUKMSCTDSuffixToTagMappings objectForKey: fileSuffix];
if( numObj )
[self setSyntaxDefinitionFilename: [sUKMSCTDSyntaxDefinitionFiles objectAtIndex: [numObj intValue]]];

0 comments on commit fb656cd

Please sign in to comment.