(OSX) Xcode 3.2 build fixes

This commit is contained in:
twinaphex 2014-10-22 18:53:59 +02:00
parent 5261ca05ba
commit f26054f82c
2 changed files with 3 additions and 2 deletions

View File

@ -100,7 +100,7 @@ NSWindowDelegate>
RAInputBinder* _binderWindow;
NSButtonCell* _booleanCell;
NSTextFieldCell* _binderCell;
NSTableView* _table
NSTableView* _table;
NSOutlineView* _outline;
NSMutableArray* _settings;
NSMutableArray* _currentGroup;

View File

@ -65,7 +65,8 @@ static RAScreen* get_chosen_screen(void)
return RAScreen.mainScreen;
}
return (RAScreen*)[RAScreen.screens objectAtIndex:g_settings.video.monitor_index];
NSArray *screens = [RAScreen screens];
return (RAScreen*)[screens objectAtIndex:g_settings.video.monitor_index];
#endif
}