diff --git a/AppKit/CPApplication.j b/AppKit/CPApplication.j index 3342f2799..6a43b91dd 100644 --- a/AppKit/CPApplication.j +++ b/AppKit/CPApplication.j @@ -224,10 +224,10 @@ CPRunContinuesResponse = -1002; // We also want to set the default cursor on the body, so that buttons and things don't have an iBeam [[CPCursor arrowCursor] set]; - var bundle = [CPBundle mainBundle], - types = [bundle objectForInfoDictionaryKey:@"CPBundleDocumentTypes"]; + var bundle = [CPBundle mainBundle]; - var delegateClassName = [bundle objectForInfoDictionaryKey:@"CPApplicationDelegateClass"]; + var delegateClassName = [bundle objectForInfoDictionaryKey:@"CPApplicationDelegateClass"], + types = [bundle objectForInfoDictionaryKey:@"CPBundleDocumentTypes"]; if (delegateClassName) {