revert dock badging to before 2287

This commit is contained in:
Mitchell Livingston 2007-07-04 20:01:56 +00:00
parent 05c82e2a40
commit 08cf33e10e
1 changed files with 3 additions and 2 deletions

View File

@ -173,8 +173,9 @@
//update dock badge //update dock badge
if (baseChange || fSpeedBadge || speedChange) if (baseChange || fSpeedBadge || speedChange)
{ {
[NSApp setApplicationIconImage: dockIcon]; [NSApp setApplicationIconImage: dockIcon ? dockIcon : fDockIcon];
[dockIcon release]; if (dockIcon)
[dockIcon release];
fSpeedBadge = speedChange; fSpeedBadge = speedChange;
} }