[dasher] Minor MacOS fixes.



commit b73e7e262f5e8ee44156c05bd5bbcea3ec432f8f
Author: Alan Lawrence <acl33 inf phy cam ac uk>
Date:   Sat Jul 31 18:41:57 2010 +0100

    Minor MacOS fixes.

 Src/MacOSX/DasherViewCocoa.h        |    2 +-
 Src/MacOSX/PreferencesController.mm |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Src/MacOSX/DasherViewCocoa.h b/Src/MacOSX/DasherViewCocoa.h
index aca8513..3511064 100644
--- a/Src/MacOSX/DasherViewCocoa.h
+++ b/Src/MacOSX/DasherViewCocoa.h
@@ -10,7 +10,7 @@
 #import <Cocoa/Cocoa.h>
 #import "../DasherCore/ColourIO.h"
 
- class COSXDasherScreen;
+class COSXDasherScreen;
 
 @protocol DasherViewCocoa
 // protocol to allow easily changing implementation of the view.
diff --git a/Src/MacOSX/PreferencesController.mm b/Src/MacOSX/PreferencesController.mm
index 8907fd2..f9e605d 100644
--- a/Src/MacOSX/PreferencesController.mm
+++ b/Src/MacOSX/PreferencesController.mm
@@ -64,7 +64,7 @@ static PreferencesController *preferencesController = nil;
 
 - (id)init {
   if (self = [super init]) {
-    dasherApp = [[NSApplication sharedApplication] delegate];
+    dasherApp = (DasherApp *)[[NSApplication sharedApplication] delegate];
   }
   
   return self;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]