#4749 When accessing images using imageNamed:, don't include the .png. This fixes the app not using the @2x images in HiDPI mode.

This commit is contained in:
Mitchell Livingston
2012-06-10 02:35:58 +00:00
parent 6b8f4738bf
commit b830e8cba2
15 changed files with 57 additions and 57 deletions

View File

@@ -267,11 +267,11 @@
switch (level)
{
case TR_MSG_ERR:
return [NSImage imageNamed: @"RedDot.png"];
return [NSImage imageNamed: @"RedDot"];
case TR_MSG_INF:
return [NSImage imageNamed: @"YellowDot.png"];
return [NSImage imageNamed: @"YellowDot"];
case TR_MSG_DBG:
return [NSImage imageNamed: @"PurpleDot.png"];
return [NSImage imageNamed: @"PurpleDot"];
default:
NSAssert1(NO, @"Unknown message log level: %d", level);
return nil;