diff options
author | Max <post@wickenrode.com> | 2015-01-10 14:51:20 +0100 |
---|---|---|
committer | Max <post@wickenrode.com> | 2015-01-10 14:51:20 +0100 |
commit | d5ffcf83d78e5dc2c6185c13ecce5456b613a655 (patch) | |
tree | 42001586322be7339b37895edce075a5759d8237 /Source | |
parent | 4fafe928e01b6dbf1674eebddd8b9816a9ebcdd1 (diff) | |
download | sequelpro-d5ffcf83d78e5dc2c6185c13ecce5456b613a655.tar.gz sequelpro-d5ffcf83d78e5dc2c6185c13ecce5456b613a655.tar.bz2 sequelpro-d5ffcf83d78e5dc2c6185c13ecce5456b613a655.zip |
Fix a compiler warning
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPAppController.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m index 0840978d..0d60437b 100644 --- a/Source/SPAppController.m +++ b/Source/SPAppController.m @@ -670,10 +670,10 @@ } // Update Bundle Editor if it was already initialized - for (id win in [NSApp windows]) + for (NSWindow *win in [NSApp windows]) { - if ([[[[win delegate] class] description] isEqualToString:@"SPBundleEditorController"]) { - [[win delegate] reloadBundles:nil]; + if ([[win delegate] class] == [SPBundleEditorController class]) { + [((SPBundleEditorController *)[win delegate]) reloadBundles:nil]; break; } } |