mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
File browser icon bindings were semi-case-sensitive
We compared the lowercased extension or file name with the case-preserved entry in the bindings.plist file, meaning e.g. ‘Makefile’ never got the intended icon.
This commit is contained in:
@@ -17,7 +17,7 @@ static NSImage* CustomIconForPath (NSString* path)
|
||||
for(NSString* key in map)
|
||||
{
|
||||
for(NSString* ext in map[key])
|
||||
bindings[ext] = key;
|
||||
bindings[[ext lowercaseString]] = key;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user